summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--packages/astro/test/integration-docs.test.js6
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
+}