Tag: unit-testing
-
Vue, Vitest and MSW: Mocking and testing a GraphQL query result in composable not possible
0 I made a simple dummy application as in the end it will fit in a much bigger enterprise application, but I first made a proof of concept to make sure it works… and it doesn’t yet! I’m at a loss why this is. I’ve followed the documentation on https://mswjs.io/ for getting the mock in…
-
Mocking and unit testing graphql-dotnet
0 I’m using graphql-dotnet library to query some GraphQL APIs from my C# code. Is there a way to easily mock the GraphQLHttpClient in unit tests? c# unit-testing graphql moq graphql-dotnet Share Follow asked 1 hour ago Dawid RutkowskiDawid Rutkowski 2,66711 gold badge3030 silver badges3737 bronze badges 2 what did you try yourself? – MakePeaceGreatAgain 42…
-
Testing graphql query in react error: TypeError: (0 , _client.gql) is not a function
0 I have this graphql query: export const LOAD_PLAYERS = gql` query GetPlayers { players { id firstname lastname shortname sex picture { url } country { code picture { url } } stats { rank age weight height points } } } `; I’m using it in this custom hook and it works just…
-
Backend Developer with Node js, Golang, GraphQL || Sunnyvale, CA(Hybrid – Need locals only) || Must have linkedin & 9+ years of exp. – Nestortechnologies Inc – Sunnyvale, CA
Nestortechnologies Inc Sunnyvale, CA Depends on Experience Accepts corp to corp applications, Contract: IndependentW2, 12 Month(s) Skills Golang GraphQL MongoDB NoSQL Node . js design patterns unit testing Job Description Backend Developer with Node js + Golang + GraphQLSunnyvale, CA (Hybrid – Need locals only)Must have linkedin & 9+ years of exp. Mandatory Skill :(Node js,…
-
Software Development Engineer IV – Dimensional Thinking – Berkeley Heights, NJ
Dimensional Thinking Berkeley Heights, NJ $70 – $80 Contract: W2 Skills Software Development MongoDB collaborate unit testing GraphQL Job Description Description: BACK END Responsibilities:Perform requirement analysis by collaborating with business and IT stakeholdersFinalize the project scope for the upcoming phase/sprintConduct the system design in relates to the finalized scopePerform application coding to the agreed…
-
Golang Developer – Cigniti Technologies Inc – Plano, TX
Cigniti Technologies Inc Plano, TX $60 – $65 Accepts corp to corp applications, Contract: Independent, W2, 12 Month(s) Skills GoLang GraphQL PostgreSQL unit testing Multi – Threading Amazon Web Services gorilla Job Description Job Title: Golang Developer Duration: 12+ months contract Location: Plano, TX (DAY 1 ONSITE) In-person Interview is a must Job…
-
Java API Developer – eTeam, Inc. – Remote
eTeam, Inc. Remote Depends on Experience Contract: W2, Independent Skills Graphql Java Maven Performance testing Unit testing boot technologies technologies Java Job Description Job Title: Java API Developer Location: Remote Responsibilities 1. Requirement analysis 2. Develop code using Java, Spring boot and Graphql 3. Unit testing 4. Deploy the code to IT/UAT 5. Connect with…
-
AWS Developer (GraphQL, Node JS and Typescript) – Remote – Talent Hires – Remote
Talent Hires Remote $50 – $60 Accepts corp to corp applications, Contract: Independent, W2, 2 Year(s) Skills AWS AppSync GraphQL JSON Jmeter S3 Terraform Typescript Unit testing AWS Serverless aws lambda Job Description Hi, Urgent need for AWS Developer (GraphQL, Node JS and Typescript) AWS Developer: • Technical skills – Node JS16.x, Typescript, GraphQL, ECS…
-
How to mock the external library graphql-request call using jest
0 I’m encountering difficulties while writing Jest unit tests for a module that interacts with graphql-request. Here’s the test import { jest } from ‘@jest/globals’; import { request } from ‘graphql-request’; import { logActivityPhoneCallScheduled, } from ‘./candidateService’; jest.mock(‘graphql-request’, () => { return { request: jest.fn(), }; }); beforeEach(() => { jest.clearAllMocks(); }); test(‘scheduled’, async ()…
-
How to solve graphql-rquest mockResolvedValue is not a function
0 In my project I’m updating to Node 18 and also converting from commonjs to esm. When I run the Jest tests I’m getting this error TypeError: request.mockResolvedValue is not a function In the following file but as you see the jest.mock()is on top of the scope as per documentation and also what I saw…