File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -67,10 +67,10 @@ describe('onPostBuild', () => {
67
67
68
68
await onPostBuild (
69
69
{
70
- graphql ( ) {
71
- return Promise . resolve ( { data : { } } )
70
+ graphql ( ) {
71
+ return Promise . resolve ( { data : { } } )
72
72
}
73
- } ,
73
+ } ,
74
74
{
75
75
host : null ,
76
76
sitemap : 'https://www.test.com/sitemap.xml' ,
@@ -85,10 +85,10 @@ describe('onPostBuild', () => {
85
85
86
86
await onPostBuild (
87
87
{
88
- graphql ( ) {
89
- return Promise . resolve ( { data : { } } )
88
+ graphql ( ) {
89
+ return Promise . resolve ( { data : { } } )
90
90
}
91
- } ,
91
+ } ,
92
92
{
93
93
host : 'https://www.test.com' ,
94
94
sitemap : null ,
@@ -264,7 +264,7 @@ describe('onPostBuild', () => {
264
264
expect ( readContent ( output ) ) . toContain ( 'Sitemap: https://www.test.com/prefix/sitemap.xml' ) ;
265
265
} )
266
266
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 ( ) => {
268
268
const output = './robots-sitemap-prefix-provided.txt' ;
269
269
const pathPrefix = '/prefix'
270
270
You can’t perform that action at this time.
0 commit comments