Skip to content

Commit

Permalink
Fixes toStrictEqual test expectations against config with new property.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethan Standel committed May 25, 2021
1 parent b13f7d8 commit 78e25e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/next-sitemap/src/config/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ describe('next-sitemap/config', () => {
expect(defaultConfig).toStrictEqual<Partial<IConfig>>({
sourceDir: '.next',
outDir: 'public',
sitemapBaseFileName: 'sitemap',
priority: 0.7,
changefreq: 'daily',
sitemapSize: 5000,
Expand Down Expand Up @@ -44,6 +45,7 @@ describe('next-sitemap/config', () => {
expect(myConfig).toStrictEqual<Partial<IConfig>>({
sourceDir: 'custom-source',
outDir: 'public',
sitemapBaseFileName: 'sitemap',
priority: 0.7,
changefreq: 'daily',
sitemapSize: 50000,
Expand Down

0 comments on commit 78e25e0

Please sign in to comment.