Skip to content
JS
Package

graphql-query-test-mock

Mock queries to your GraphQL backend in your Jest tests.

v0.12.1, 7 Oct 2019MITCommonJSTypes: BundledGraphQLTesting
$ npm install graphql-query-test-mock

Key numbers

As of 25 Sept 2026
Weekly downloads
3k
-65% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
6 years ago
v0.12.1
GitHub stars
60
8 forks
Open issues / PRs
2 / 18
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
010k20k30kSept 2025Mar 2026Sept 2026High 28.8k (10 Mar 2026)Low 1.4k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

2,953 downloads last week, 13,104 in the last month. The 12-month change of -65% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
0.12.1, 7 Oct 20196 years ago
First published
-
Last push to GitHub
8 Dec 20221,386 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
18
Commits, last 52 weeks
0
Dependents on npm
1

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
302 kB
Dependencies (4)
graphqljest-diffdeep-equalobject-hash
Peer dependencies (1)
nock
npm install graphql-query-test-mock
  • jsDelivrhttps://cdn.jsdelivr.net/npm/graphql-query-test-mock@0.12.1/
  • unpkghttps://unpkg.com/graphql-query-test-mock@0.12.1/
  • esm.shhttps://esm.sh/graphql-query-test-mock@0.12.1
PackageWeekly downloadsGzipLast releaseModuleComparison
@zendesk/laika9.5k-21 days agoESM + CommonJS-
@apollo/react-testing51.4k-6 years agoCommonJS-
@miragejs/graphql48.1k-1 year agoESM + CommonJS-
graphql-tools571.5k-17 days agoESM + CommonJS-
@pothos/plugin-mocks5.6k-11 days agoESM + CommonJS-
supertest-graphql32k-4 years agoCommonJS-
@apollo/client4.6m-6 days agoESM + CommonJS-
apollo-angular-link-http6.1k-6 years agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 2953 < 10000.