Skip to content

Commit

Permalink
test: rename case
Browse files Browse the repository at this point in the history
  • Loading branch information
mdreizin committed Jan 15, 2022
1 parent af69f24 commit 2ba5528
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/gatsby-node.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ describe('onPostBuild', () => {

await onPostBuild(
{
graphql() {
return Promise.resolve({ data: {} })
graphql() {
return Promise.resolve({ data: {} })
}
},
},
{
host: null,
sitemap: 'https://www.test.com/sitemap.xml',
Expand All @@ -85,10 +85,10 @@ describe('onPostBuild', () => {

await onPostBuild(
{
graphql() {
return Promise.resolve({ data: {} })
graphql() {
return Promise.resolve({ data: {} })
}
},
},
{
host: 'https://www.test.com',
sitemap: null,
Expand Down Expand Up @@ -264,7 +264,7 @@ describe('onPostBuild', () => {
expect(readContent(output)).toContain('Sitemap: https://www.test.com/prefix/sitemap.xml');
})

it(`should not add pathPrefix if provided sitemap alread has prefix`, async () => {
it(`should not add pathPrefix if provided sitemap already has prefix`, async () => {
const output = './robots-sitemap-prefix-provided.txt';
const pathPrefix = '/prefix'

Expand Down

0 comments on commit 2ba5528

Please sign in to comment.