diff options
author | 2021-09-16 20:07:52 +0000 | |
---|---|---|
committer | 2021-09-16 20:07:52 +0000 | |
commit | d895d3c079896a061ede991e1ce69482207020b5 (patch) | |
tree | 498f31e4aac370b8fa7799f6190cedf347b5b24d /packages/astro/test/integration-docs.test.js | |
parent | 291f2ef537dea2aa5a190d2a9661148d39bf3099 (diff) | |
download | astro-d895d3c079896a061ede991e1ce69482207020b5.tar.gz astro-d895d3c079896a061ede991e1ce69482207020b5.tar.zst astro-d895d3c079896a061ede991e1ce69482207020b5.zip |
[ci] yarn format
Diffstat (limited to '')
-rw-r--r-- | packages/astro/test/integration-docs.test.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/astro/test/integration-docs.test.js b/packages/astro/test/integration-docs.test.js index 7140b9280..8a693f3c9 100644 --- a/packages/astro/test/integration-docs.test.js +++ b/packages/astro/test/integration-docs.test.js @@ -18,8 +18,7 @@ function formatURL(filepath) { // declaring routes individually helps us run many quick tests rather than one giant slow test const root = path.join(path.dirname(fileURLToPath(import.meta.url)), '../../../docs/src/pages'); -let pages = glob('**/*.{astro,md}', { cwd: root, onlyFiles: true }) - .map(formatURL); +let pages = glob('**/*.{astro,md}', { cwd: root, onlyFiles: true }).map(formatURL); SnowpackDev('Pages successfully scanned', () => { assert.ok(pages.length > 0); @@ -36,8 +35,7 @@ for (const pathname of pages) { }); } - // Skipped on Node <v14 if (process.env.NODE_VERSION > '14') { SnowpackDev.run(); -}
\ No newline at end of file +} |