Skip to content

Commit 2ba5528

Browse files
committed
test: rename case
1 parent af69f24 commit 2ba5528

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/gatsby-node.test.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ describe('onPostBuild', () => {
6767

6868
await onPostBuild(
6969
{
70-
graphql() {
71-
return Promise.resolve({ data: {} })
70+
graphql() {
71+
return Promise.resolve({ data: {} })
7272
}
73-
},
73+
},
7474
{
7575
host: null,
7676
sitemap: 'https://www.test.com/sitemap.xml',
@@ -85,10 +85,10 @@ describe('onPostBuild', () => {
8585

8686
await onPostBuild(
8787
{
88-
graphql() {
89-
return Promise.resolve({ data: {} })
88+
graphql() {
89+
return Promise.resolve({ data: {} })
9090
}
91-
},
91+
},
9292
{
9393
host: 'https://www.test.com',
9494
sitemap: null,
@@ -264,7 +264,7 @@ describe('onPostBuild', () => {
264264
expect(readContent(output)).toContain('Sitemap: https://www.test.com/prefix/sitemap.xml');
265265
})
266266

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

0 commit comments

Comments
 (0)