diff --git a/packages/gatsby-source-contentful/src/__tests__/gatsby-node.js b/packages/gatsby-source-contentful/src/__tests__/gatsby-node.js index b366f3902c5fb..e388d58f92763 100644 --- a/packages/gatsby-source-contentful/src/__tests__/gatsby-node.js +++ b/packages/gatsby-source-contentful/src/__tests__/gatsby-node.js @@ -6,7 +6,7 @@ import { sourceNodes, onPreInit, } from "../gatsby-node" -import { existingNodes, is, memoryNodeCounts } from "../backreferences" +import { existingNodes, is } from "../backreferences" import { fetchContent, fetchContentTypes } from "../fetch" import { makeId } from "../normalize" @@ -18,6 +18,8 @@ import unpublishedFieldPreview from "../__fixtures__/unpublished-fields-preview" import preserveBackLinks from "../__fixtures__/preserve-back-links" import editingNodeReferecingNodeWithChildLink from "../__fixtures__/editing-node-referencing-nodes-with-child-links" +jest.setTimeout(30000) + jest.mock(`../fetch`) jest.mock(`gatsby-core-utils`, () => { const originalModule = jest.requireActual(`gatsby-core-utils`) diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index fd146710ba531..e29bc03c362e7 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -137,7 +137,7 @@ "opentracing": "^0.14.7", "p-defer": "^3.0.0", "parseurl": "^1.3.3", - "path-to-regexp": "0.1.7", + "path-to-regexp": "0.1.10", "physical-cpu-count": "^2.0.0", "platform": "^1.3.6", "postcss": "^8.4.24",