Skip to content

Commit

Permalink
fix: windows paths were causing weird issues, fixing tests as this wo…
Browse files Browse the repository at this point in the history
…rks fine on windows
  • Loading branch information
moonmeister committed Jul 23, 2020
1 parent dd6413c commit 8edc4d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-manifest/src/__tests__/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,8 @@ describe(`Test plugin manifest options`, () => {
await onPostBootstrap({ ...apiArgs }, specificOptions)

expect(fs.copyFileSync).toHaveBeenCalledWith(
expect.stringMatching(icon),
expect.stringMatching(`public/favicon.svg`)
expect.stringContaining(`icon.svg`),
expect.stringContaining(`favicon.svg`)
)

expect(fs.copyFileSync).toHaveBeenCalledTimes(1)
Expand Down

0 comments on commit 8edc4d1

Please sign in to comment.