Skip to content

Commit

Permalink
update tests for defaults change
Browse files Browse the repository at this point in the history
  • Loading branch information
moonmeister committed May 2, 2021
1 parent 9d61117 commit 504420f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ describe(`gatsby-plugin-sitemap Node API`, () => {
destinationDir,
sourceData,
} = sitemap.simpleSitemapAndIndex.mock.calls[0][0]
expect(destinationDir).toEqual(path.join(`public`, `sitemap`))
expect(destinationDir).toEqual(`public/`)
expect(sourceData).toMatchSnapshot()
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe(`pluginOptionsSchema`, () => {
"entryLimit": 45000,
"excludes": Array [],
"filterPages": [Function],
"output": "/sitemap",
"output": "/",
"query": "{ site { siteMetadata { siteUrl } } allSitePage { nodes { path } } }",
"resolvePagePath": [Function],
"resolvePages": [Function],
Expand Down

0 comments on commit 504420f

Please sign in to comment.