Add set-pages-path tests

This commit is contained in:
Yoann Chaudet
2022-07-19 11:47:29 -07:00
parent 43a5456c3f
commit ba4576e776
26 changed files with 317 additions and 168 deletions

View File

@@ -0,0 +1,2 @@
// Default Pages configuration for Gatsby
module.exports = { pathPrefix: "/docs/" }

View File

@@ -0,0 +1 @@
// This file is not read by the test suite

View File

@@ -0,0 +1,8 @@
module.exports = {
pathPrefix: "/docs/",
siteMetadata: {
title: `My Gatsby Site`,
siteUrl: `https://www.yourdomain.tld`,
},
plugins: [],
}

View File

@@ -0,0 +1,7 @@
module.exports = {
siteMetadata: {
title: `My Gatsby Site`,
siteUrl: `https://www.yourdomain.tld`,
},
plugins: [],
}