Skip to content

Commit

Permalink
test: use joinPath helper in node manifest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
veryspry committed Nov 8, 2021
1 parent d46fd25 commit ea64f94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/gatsby/src/utils/__tests__/node-manifest.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { foundPageByToLogIds } from "./../node-manifest"
import path from "path"
import fs from "fs-extra"
import { joinPath } from "gatsby-core-utils"
import reporter from "gatsby-cli/lib/reporter"
import { store } from "../../redux"
import { getNode } from "../../datastore"
Expand Down Expand Up @@ -315,7 +316,7 @@ describe(`processNodeManifests`, () => {

expect(fs.writeJSON).toHaveBeenNthCalledWith(
index + 1,
`${path.join(
`${joinPath(
process.cwd(),
`public`,
`__node-manifests`,
Expand Down

0 comments on commit ea64f94

Please sign in to comment.