Help in GraphQL code testing

can somebody please help me to test graphQL code
it keeps failing again and again .
FAIL test/graphql/types/Tag/assignees.test.ts > GraphQL: Tag Assignees Resolver Integration > Coverage Scenarios > should throw 'arguments_associated_resources_not_found' for valid but non-existent cursor
AssertionError: expected 'invalid_arguments' to be 'arguments_associated_resources_not_fo…' // Object.is equality

Expected: "arguments_associated_resources_not_found"
Received: "invalid_arguments"

❯ test/graphql/types/Tag/assignees.test.ts:106:45
104|
105| expect(res.errors).toBeDefined();
106| expect(res.errors[0].extensions.code).toBe("arguments_associated_resources_not_found");
| ^
107| });
108| });


been on this for 3 days now , cant figure out what am i missing or overlooking
help anyone?
 
Back
Top