diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/astro-markdown.test.js | 6 | ||||
-rw-r--r-- | test/astro-rss.test.js | 4 | ||||
-rw-r--r-- | test/astro-sitemap.test.js | 4 | ||||
-rw-r--r-- | test/config-path.test.js | 2 | ||||
-rw-r--r-- | test/config-port.test.js | 2 | ||||
-rw-r--r-- | test/fixtures/astro-basic/src/layouts/base.astro (renamed from test/fixtures/astro-basic/astro/layouts/base.astro) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-basic/src/pages/index.astro (renamed from test/fixtures/astro-basic/astro/pages/index.astro) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-basic/src/pages/nested-astro/index.astro (renamed from test/fixtures/astro-basic/astro/pages/nested-astro/index.astro) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-basic/src/pages/nested-md/index.md (renamed from test/fixtures/astro-basic/astro/pages/nested-md/index.md) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-basic/src/pages/news.astro (renamed from test/fixtures/astro-basic/astro/pages/news.astro) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-collection/src/pages/$posts.astro (renamed from test/fixtures/astro-collection/astro/pages/$posts.astro) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-collection/src/pages/post/one.md (renamed from test/fixtures/astro-collection/astro/pages/post/one.md) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-collection/src/pages/post/three.md (renamed from test/fixtures/astro-collection/astro/pages/post/three.md) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-collection/src/pages/post/two.md (renamed from test/fixtures/astro-collection/astro/pages/post/two.md) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-doctype/src/pages/prepend.astro (renamed from test/fixtures/astro-doctype/astro/pages/prepend.astro) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-doctype/src/pages/preserve.astro (renamed from test/fixtures/astro-doctype/astro/pages/preserve.astro) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-dynamic/src/components/Counter.jsx (renamed from test/fixtures/astro-dynamic/astro/components/Counter.jsx) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-dynamic/src/components/SvelteCounter.svelte (renamed from test/fixtures/astro-dynamic/astro/components/SvelteCounter.svelte) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-dynamic/src/pages/index.astro (renamed from test/fixtures/astro-dynamic/astro/pages/index.astro) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-expr/src/components/Color.jsx (renamed from test/fixtures/astro-expr/astro/components/Color.jsx) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-expr/src/pages/index.astro (renamed from test/fixtures/astro-expr/astro/pages/index.astro) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-expr/src/pages/line-comments.astro (renamed from test/fixtures/astro-expr/astro/pages/line-comments.astro) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-expr/src/pages/multiline-comments.astro (renamed from test/fixtures/astro-expr/astro/pages/multiline-comments.astro) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-expr/src/pages/multiple-children.astro (renamed from test/fixtures/astro-expr/astro/pages/multiple-children.astro) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-expr/src/pages/strings.astro (renamed from test/fixtures/astro-expr/astro/pages/strings.astro) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-fallback/src/components/Client.jsx (renamed from test/fixtures/astro-fallback/astro/components/Client.jsx) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-fallback/src/pages/index.astro (renamed from test/fixtures/astro-fallback/astro/pages/index.astro) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-markdown/src/components/Counter.jsx (renamed from test/fixtures/astro-markdown/astro/components/Counter.jsx) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-markdown/src/components/Example.jsx (renamed from test/fixtures/astro-markdown/astro/components/Example.jsx) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-markdown/src/components/Hello.jsx (renamed from test/fixtures/astro-markdown/astro/components/Hello.jsx) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-markdown/src/layouts/content.astro (renamed from test/fixtures/astro-markdown/astro/layouts/content.astro) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-markdown/src/pages/complex.md (renamed from test/fixtures/astro-markdown/astro/pages/complex.md) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-markdown/src/pages/post.md (renamed from test/fixtures/astro-markdown/astro/pages/post.md) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-request/src/pages/index.astro (renamed from test/fixtures/astro-request/astro/pages/index.astro) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-rss/src/pages/$episodes.astro (renamed from test/fixtures/astro-rss/astro/pages/$episodes.astro) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-rss/src/pages/episode/fazers.md (renamed from test/fixtures/astro-rss/astro/pages/episode/fazers.md) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-rss/src/pages/episode/rap-snitch-knishes.md (renamed from test/fixtures/astro-rss/astro/pages/episode/rap-snitch-knishes.md) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-rss/src/pages/episode/rhymes-like-dimes.md (renamed from test/fixtures/astro-rss/astro/pages/episode/rhymes-like-dimes.md) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-styles-ssr/src/components/ReactCSS.css (renamed from test/fixtures/astro-styles-ssr/astro/components/ReactCSS.css) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-styles-ssr/src/components/ReactCSS.jsx (renamed from test/fixtures/astro-styles-ssr/astro/components/ReactCSS.jsx) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-styles-ssr/src/components/ReactModules.jsx (renamed from test/fixtures/astro-styles-ssr/astro/components/ReactModules.jsx) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-styles-ssr/src/components/ReactModules.module.css (renamed from test/fixtures/astro-styles-ssr/astro/components/ReactModules.module.css) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-styles-ssr/src/components/SvelteScoped.svelte (renamed from test/fixtures/astro-styles-ssr/astro/components/SvelteScoped.svelte) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-styles-ssr/src/components/VueCSS.vue (renamed from test/fixtures/astro-styles-ssr/astro/components/VueCSS.vue) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-styles-ssr/src/components/VueModules.vue (renamed from test/fixtures/astro-styles-ssr/astro/components/VueModules.vue) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-styles-ssr/src/components/VueScoped.vue (renamed from test/fixtures/astro-styles-ssr/astro/components/VueScoped.vue) | 0 | ||||
-rw-r--r-- | test/fixtures/astro-styles-ssr/src/pages/index.astro (renamed from test/fixtures/astro-styles-ssr/astro/pages/index.astro) | 0 | ||||
-rw-r--r-- | test/fixtures/react-component/src/components/Goodbye.vue (renamed from test/fixtures/react-component/astro/components/Goodbye.vue) | 0 | ||||
-rw-r--r-- | test/fixtures/react-component/src/components/Hello.jsx (renamed from test/fixtures/react-component/astro/components/Hello.jsx) | 0 | ||||
-rw-r--r-- | test/fixtures/react-component/src/pages/index.astro (renamed from test/fixtures/react-component/astro/pages/index.astro) | 0 | ||||
-rw-r--r-- | test/snowpack-integration.test.js | 2 |
51 files changed, 10 insertions, 10 deletions
diff --git a/test/astro-markdown.test.js b/test/astro-markdown.test.js index 4d6a4f438..281243b49 100644 --- a/test/astro-markdown.test.js +++ b/test/astro-markdown.test.js @@ -34,7 +34,7 @@ Markdown.before(async () => { Markdown.after(async () => { (await runtime) && runtime.shutdown(); - rmdir(join(fixturePath, '_site'), { recursive: true }); + rmdir(join(fixturePath, 'dist'), { recursive: true }); }); Markdown('No errors creating a runtime', () => { @@ -62,10 +62,10 @@ Markdown('Can load more complex jsxy stuff', async () => { Markdown('Bundles client-side JS for prod', async () => { await build(astroConfig); - const complexHtml = await readFile(join(fixturePath, './_site/complex/index.html'), 'utf-8'); + const complexHtml = await readFile(join(fixturePath, './dist/complex/index.html'), 'utf-8'); assert.match(complexHtml, `import("/_astro/components/Counter.js"`); - assert.ok(existsSync(join(fixturePath, `./_site/_astro/components/Counter.js`)), 'Counter.jsx is bundled for prod'); + assert.ok(existsSync(join(fixturePath, `./dist/_astro/components/Counter.js`)), 'Counter.jsx is bundled for prod'); }); Markdown.run(); diff --git a/test/astro-rss.test.js b/test/astro-rss.test.js index 53a48f158..ed0d37818 100644 --- a/test/astro-rss.test.js +++ b/test/astro-rss.test.js @@ -13,14 +13,14 @@ const snapshot = `<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns const cwd = new URL('./fixtures/astro-rss', import.meta.url); -const clear = () => del(path.join(fileURLToPath(cwd), '_site')); // clear _site output +const clear = () => del(path.join(fileURLToPath(cwd), 'dist')); // clear dist output RSS.before(() => clear()); RSS.after(() => clear()); RSS('Generates RSS correctly', async () => { execSync('node ../../../astro.mjs build', { cwd: fileURLToPath(cwd) }); - const rss = await fs.promises.readFile(path.join(fileURLToPath(cwd), '_site', 'feed', 'episodes.xml'), 'utf8'); + const rss = await fs.promises.readFile(path.join(fileURLToPath(cwd), 'dist', 'feed', 'episodes.xml'), 'utf8'); assert.match(rss, snapshot); }); diff --git a/test/astro-sitemap.test.js b/test/astro-sitemap.test.js index b2edd9312..dccaac326 100644 --- a/test/astro-sitemap.test.js +++ b/test/astro-sitemap.test.js @@ -12,14 +12,14 @@ const snapshot = `<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://ww const cwd = new URL('./fixtures/astro-rss', import.meta.url); -const clear = () => del(path.join(fileURLToPath(cwd), '_site')); // clear _site output +const clear = () => del(path.join(fileURLToPath(cwd), 'dist')); // clear dist output Sitemap.before(() => clear()); Sitemap.after(() => clear()); Sitemap('Generates Sitemap correctly', async () => { execSync('node ../../../astro.mjs build', { cwd: fileURLToPath(cwd) }); - const rss = await fs.promises.readFile(path.join(fileURLToPath(cwd), '_site', 'sitemap.xml'), 'utf8'); + const rss = await fs.promises.readFile(path.join(fileURLToPath(cwd), 'dist', 'sitemap.xml'), 'utf8'); assert.match(rss, snapshot); }); diff --git a/test/config-path.test.js b/test/config-path.test.js index a13e099b3..33e2cf3b7 100644 --- a/test/config-path.test.js +++ b/test/config-path.test.js @@ -12,7 +12,7 @@ ConfigPath('can be passed via --config', async (context) => { process.stdout.setEncoding('utf8'); for await (const chunk of process.stdout) { - if(/Server running at/.test(chunk)) { + if(/Server started/.test(chunk)) { break; } } diff --git a/test/config-port.test.js b/test/config-port.test.js index 9b5f7b14c..e2e238b64 100644 --- a/test/config-port.test.js +++ b/test/config-port.test.js @@ -17,7 +17,7 @@ ConfigPort('can be specified via --port flag', async (context) => { process.stdout.setEncoding('utf8'); for await (const chunk of process.stdout) { - if(/Server running at/.test(chunk)) { + if(/Local:/.test(chunk)) { assert.ok(/:3002/.test(chunk), 'Using the right port'); break; } diff --git a/test/fixtures/astro-basic/astro/layouts/base.astro b/test/fixtures/astro-basic/src/layouts/base.astro index ec996a32f..ec996a32f 100644 --- a/test/fixtures/astro-basic/astro/layouts/base.astro +++ b/test/fixtures/astro-basic/src/layouts/base.astro diff --git a/test/fixtures/astro-basic/astro/pages/index.astro b/test/fixtures/astro-basic/src/pages/index.astro index 5ae5380c5..5ae5380c5 100644 --- a/test/fixtures/astro-basic/astro/pages/index.astro +++ b/test/fixtures/astro-basic/src/pages/index.astro diff --git a/test/fixtures/astro-basic/astro/pages/nested-astro/index.astro b/test/fixtures/astro-basic/src/pages/nested-astro/index.astro index a28992ee6..a28992ee6 100644 --- a/test/fixtures/astro-basic/astro/pages/nested-astro/index.astro +++ b/test/fixtures/astro-basic/src/pages/nested-astro/index.astro diff --git a/test/fixtures/astro-basic/astro/pages/nested-md/index.md b/test/fixtures/astro-basic/src/pages/nested-md/index.md index 23374f9b8..23374f9b8 100644 --- a/test/fixtures/astro-basic/astro/pages/nested-md/index.md +++ b/test/fixtures/astro-basic/src/pages/nested-md/index.md diff --git a/test/fixtures/astro-basic/astro/pages/news.astro b/test/fixtures/astro-basic/src/pages/news.astro index 71a00b8a9..71a00b8a9 100644 --- a/test/fixtures/astro-basic/astro/pages/news.astro +++ b/test/fixtures/astro-basic/src/pages/news.astro diff --git a/test/fixtures/astro-collection/astro/pages/$posts.astro b/test/fixtures/astro-collection/src/pages/$posts.astro index 4186a9a5c..4186a9a5c 100644 --- a/test/fixtures/astro-collection/astro/pages/$posts.astro +++ b/test/fixtures/astro-collection/src/pages/$posts.astro diff --git a/test/fixtures/astro-collection/astro/pages/post/one.md b/test/fixtures/astro-collection/src/pages/post/one.md index 9d68e12dd..9d68e12dd 100644 --- a/test/fixtures/astro-collection/astro/pages/post/one.md +++ b/test/fixtures/astro-collection/src/pages/post/one.md diff --git a/test/fixtures/astro-collection/astro/pages/post/three.md b/test/fixtures/astro-collection/src/pages/post/three.md index c495a5195..c495a5195 100644 --- a/test/fixtures/astro-collection/astro/pages/post/three.md +++ b/test/fixtures/astro-collection/src/pages/post/three.md diff --git a/test/fixtures/astro-collection/astro/pages/post/two.md b/test/fixtures/astro-collection/src/pages/post/two.md index 39855e701..39855e701 100644 --- a/test/fixtures/astro-collection/astro/pages/post/two.md +++ b/test/fixtures/astro-collection/src/pages/post/two.md diff --git a/test/fixtures/astro-doctype/astro/pages/prepend.astro b/test/fixtures/astro-doctype/src/pages/prepend.astro index f8fb1bacd..f8fb1bacd 100644 --- a/test/fixtures/astro-doctype/astro/pages/prepend.astro +++ b/test/fixtures/astro-doctype/src/pages/prepend.astro diff --git a/test/fixtures/astro-doctype/astro/pages/preserve.astro b/test/fixtures/astro-doctype/src/pages/preserve.astro index 3e1ca934f..3e1ca934f 100644 --- a/test/fixtures/astro-doctype/astro/pages/preserve.astro +++ b/test/fixtures/astro-doctype/src/pages/preserve.astro diff --git a/test/fixtures/astro-dynamic/astro/components/Counter.jsx b/test/fixtures/astro-dynamic/src/components/Counter.jsx index 31472c3ac..31472c3ac 100644 --- a/test/fixtures/astro-dynamic/astro/components/Counter.jsx +++ b/test/fixtures/astro-dynamic/src/components/Counter.jsx diff --git a/test/fixtures/astro-dynamic/astro/components/SvelteCounter.svelte b/test/fixtures/astro-dynamic/src/components/SvelteCounter.svelte index 8d6b3f5e1..8d6b3f5e1 100644 --- a/test/fixtures/astro-dynamic/astro/components/SvelteCounter.svelte +++ b/test/fixtures/astro-dynamic/src/components/SvelteCounter.svelte diff --git a/test/fixtures/astro-dynamic/astro/pages/index.astro b/test/fixtures/astro-dynamic/src/pages/index.astro index c4d0fef17..c4d0fef17 100644 --- a/test/fixtures/astro-dynamic/astro/pages/index.astro +++ b/test/fixtures/astro-dynamic/src/pages/index.astro diff --git a/test/fixtures/astro-expr/astro/components/Color.jsx b/test/fixtures/astro-expr/src/components/Color.jsx index c2681cc9b..c2681cc9b 100644 --- a/test/fixtures/astro-expr/astro/components/Color.jsx +++ b/test/fixtures/astro-expr/src/components/Color.jsx diff --git a/test/fixtures/astro-expr/astro/pages/index.astro b/test/fixtures/astro-expr/src/pages/index.astro index 50af05d93..50af05d93 100644 --- a/test/fixtures/astro-expr/astro/pages/index.astro +++ b/test/fixtures/astro-expr/src/pages/index.astro diff --git a/test/fixtures/astro-expr/astro/pages/line-comments.astro b/test/fixtures/astro-expr/src/pages/line-comments.astro index 2fb7bf643..2fb7bf643 100644 --- a/test/fixtures/astro-expr/astro/pages/line-comments.astro +++ b/test/fixtures/astro-expr/src/pages/line-comments.astro diff --git a/test/fixtures/astro-expr/astro/pages/multiline-comments.astro b/test/fixtures/astro-expr/src/pages/multiline-comments.astro index 5c7016ee8..5c7016ee8 100644 --- a/test/fixtures/astro-expr/astro/pages/multiline-comments.astro +++ b/test/fixtures/astro-expr/src/pages/multiline-comments.astro diff --git a/test/fixtures/astro-expr/astro/pages/multiple-children.astro b/test/fixtures/astro-expr/src/pages/multiple-children.astro index fb0fafd4a..fb0fafd4a 100644 --- a/test/fixtures/astro-expr/astro/pages/multiple-children.astro +++ b/test/fixtures/astro-expr/src/pages/multiple-children.astro diff --git a/test/fixtures/astro-expr/astro/pages/strings.astro b/test/fixtures/astro-expr/src/pages/strings.astro index 712df6120..712df6120 100644 --- a/test/fixtures/astro-expr/astro/pages/strings.astro +++ b/test/fixtures/astro-expr/src/pages/strings.astro diff --git a/test/fixtures/astro-fallback/astro/components/Client.jsx b/test/fixtures/astro-fallback/src/components/Client.jsx index d79536e27..d79536e27 100644 --- a/test/fixtures/astro-fallback/astro/components/Client.jsx +++ b/test/fixtures/astro-fallback/src/components/Client.jsx diff --git a/test/fixtures/astro-fallback/astro/pages/index.astro b/test/fixtures/astro-fallback/src/pages/index.astro index f4f20c322..f4f20c322 100644 --- a/test/fixtures/astro-fallback/astro/pages/index.astro +++ b/test/fixtures/astro-fallback/src/pages/index.astro diff --git a/test/fixtures/astro-markdown/astro/components/Counter.jsx b/test/fixtures/astro-markdown/src/components/Counter.jsx index a75f858b5..a75f858b5 100644 --- a/test/fixtures/astro-markdown/astro/components/Counter.jsx +++ b/test/fixtures/astro-markdown/src/components/Counter.jsx diff --git a/test/fixtures/astro-markdown/astro/components/Example.jsx b/test/fixtures/astro-markdown/src/components/Example.jsx index 57bde3a95..57bde3a95 100644 --- a/test/fixtures/astro-markdown/astro/components/Example.jsx +++ b/test/fixtures/astro-markdown/src/components/Example.jsx diff --git a/test/fixtures/astro-markdown/astro/components/Hello.jsx b/test/fixtures/astro-markdown/src/components/Hello.jsx index 787ca587b..787ca587b 100644 --- a/test/fixtures/astro-markdown/astro/components/Hello.jsx +++ b/test/fixtures/astro-markdown/src/components/Hello.jsx diff --git a/test/fixtures/astro-markdown/astro/layouts/content.astro b/test/fixtures/astro-markdown/src/layouts/content.astro index 925a243a9..925a243a9 100644 --- a/test/fixtures/astro-markdown/astro/layouts/content.astro +++ b/test/fixtures/astro-markdown/src/layouts/content.astro diff --git a/test/fixtures/astro-markdown/astro/pages/complex.md b/test/fixtures/astro-markdown/src/pages/complex.md index 6367948b9..6367948b9 100644 --- a/test/fixtures/astro-markdown/astro/pages/complex.md +++ b/test/fixtures/astro-markdown/src/pages/complex.md diff --git a/test/fixtures/astro-markdown/astro/pages/post.md b/test/fixtures/astro-markdown/src/pages/post.md index 58ebdc945..58ebdc945 100644 --- a/test/fixtures/astro-markdown/astro/pages/post.md +++ b/test/fixtures/astro-markdown/src/pages/post.md diff --git a/test/fixtures/astro-request/astro/pages/index.astro b/test/fixtures/astro-request/src/pages/index.astro index 590a5e154..590a5e154 100644 --- a/test/fixtures/astro-request/astro/pages/index.astro +++ b/test/fixtures/astro-request/src/pages/index.astro diff --git a/test/fixtures/astro-rss/astro/pages/$episodes.astro b/test/fixtures/astro-rss/src/pages/$episodes.astro index a1e3df00b..a1e3df00b 100644 --- a/test/fixtures/astro-rss/astro/pages/$episodes.astro +++ b/test/fixtures/astro-rss/src/pages/$episodes.astro diff --git a/test/fixtures/astro-rss/astro/pages/episode/fazers.md b/test/fixtures/astro-rss/src/pages/episode/fazers.md index 9efbf1fa2..9efbf1fa2 100644 --- a/test/fixtures/astro-rss/astro/pages/episode/fazers.md +++ b/test/fixtures/astro-rss/src/pages/episode/fazers.md diff --git a/test/fixtures/astro-rss/astro/pages/episode/rap-snitch-knishes.md b/test/fixtures/astro-rss/src/pages/episode/rap-snitch-knishes.md index e7ade24b4..e7ade24b4 100644 --- a/test/fixtures/astro-rss/astro/pages/episode/rap-snitch-knishes.md +++ b/test/fixtures/astro-rss/src/pages/episode/rap-snitch-knishes.md diff --git a/test/fixtures/astro-rss/astro/pages/episode/rhymes-like-dimes.md b/test/fixtures/astro-rss/src/pages/episode/rhymes-like-dimes.md index ba73c28d8..ba73c28d8 100644 --- a/test/fixtures/astro-rss/astro/pages/episode/rhymes-like-dimes.md +++ b/test/fixtures/astro-rss/src/pages/episode/rhymes-like-dimes.md diff --git a/test/fixtures/astro-styles-ssr/astro/components/ReactCSS.css b/test/fixtures/astro-styles-ssr/src/components/ReactCSS.css index a29595b86..a29595b86 100644 --- a/test/fixtures/astro-styles-ssr/astro/components/ReactCSS.css +++ b/test/fixtures/astro-styles-ssr/src/components/ReactCSS.css diff --git a/test/fixtures/astro-styles-ssr/astro/components/ReactCSS.jsx b/test/fixtures/astro-styles-ssr/src/components/ReactCSS.jsx index 88d731a3f..88d731a3f 100644 --- a/test/fixtures/astro-styles-ssr/astro/components/ReactCSS.jsx +++ b/test/fixtures/astro-styles-ssr/src/components/ReactCSS.jsx diff --git a/test/fixtures/astro-styles-ssr/astro/components/ReactModules.jsx b/test/fixtures/astro-styles-ssr/src/components/ReactModules.jsx index b3aef6bb2..b3aef6bb2 100644 --- a/test/fixtures/astro-styles-ssr/astro/components/ReactModules.jsx +++ b/test/fixtures/astro-styles-ssr/src/components/ReactModules.jsx diff --git a/test/fixtures/astro-styles-ssr/astro/components/ReactModules.module.css b/test/fixtures/astro-styles-ssr/src/components/ReactModules.module.css index 465178859..465178859 100644 --- a/test/fixtures/astro-styles-ssr/astro/components/ReactModules.module.css +++ b/test/fixtures/astro-styles-ssr/src/components/ReactModules.module.css diff --git a/test/fixtures/astro-styles-ssr/astro/components/SvelteScoped.svelte b/test/fixtures/astro-styles-ssr/src/components/SvelteScoped.svelte index 8c2b7d451..8c2b7d451 100644 --- a/test/fixtures/astro-styles-ssr/astro/components/SvelteScoped.svelte +++ b/test/fixtures/astro-styles-ssr/src/components/SvelteScoped.svelte diff --git a/test/fixtures/astro-styles-ssr/astro/components/VueCSS.vue b/test/fixtures/astro-styles-ssr/src/components/VueCSS.vue index 23ac9a291..23ac9a291 100644 --- a/test/fixtures/astro-styles-ssr/astro/components/VueCSS.vue +++ b/test/fixtures/astro-styles-ssr/src/components/VueCSS.vue diff --git a/test/fixtures/astro-styles-ssr/astro/components/VueModules.vue b/test/fixtures/astro-styles-ssr/src/components/VueModules.vue index bd520fec4..bd520fec4 100644 --- a/test/fixtures/astro-styles-ssr/astro/components/VueModules.vue +++ b/test/fixtures/astro-styles-ssr/src/components/VueModules.vue diff --git a/test/fixtures/astro-styles-ssr/astro/components/VueScoped.vue b/test/fixtures/astro-styles-ssr/src/components/VueScoped.vue index 0eee4dff1..0eee4dff1 100644 --- a/test/fixtures/astro-styles-ssr/astro/components/VueScoped.vue +++ b/test/fixtures/astro-styles-ssr/src/components/VueScoped.vue diff --git a/test/fixtures/astro-styles-ssr/astro/pages/index.astro b/test/fixtures/astro-styles-ssr/src/pages/index.astro index 45f9683ac..45f9683ac 100644 --- a/test/fixtures/astro-styles-ssr/astro/pages/index.astro +++ b/test/fixtures/astro-styles-ssr/src/pages/index.astro diff --git a/test/fixtures/react-component/astro/components/Goodbye.vue b/test/fixtures/react-component/src/components/Goodbye.vue index 430dfdb71..430dfdb71 100644 --- a/test/fixtures/react-component/astro/components/Goodbye.vue +++ b/test/fixtures/react-component/src/components/Goodbye.vue diff --git a/test/fixtures/react-component/astro/components/Hello.jsx b/test/fixtures/react-component/src/components/Hello.jsx index 4b6c416a9..4b6c416a9 100644 --- a/test/fixtures/react-component/astro/components/Hello.jsx +++ b/test/fixtures/react-component/src/components/Hello.jsx diff --git a/test/fixtures/react-component/astro/pages/index.astro b/test/fixtures/react-component/src/pages/index.astro index 74475f34e..74475f34e 100644 --- a/test/fixtures/react-component/astro/pages/index.astro +++ b/test/fixtures/react-component/src/pages/index.astro diff --git a/test/snowpack-integration.test.js b/test/snowpack-integration.test.js index d48aa1a1f..eff5b6756 100644 --- a/test/snowpack-integration.test.js +++ b/test/snowpack-integration.test.js @@ -68,7 +68,7 @@ SnowpackDev('No error creating the runtime', () => { SnowpackDev('Can load every page', async () => { const failed = []; - const pageRoot = new URL('../examples/snowpack/astro/pages/', import.meta.url); + const pageRoot = new URL('../examples/snowpack/src/pages/', import.meta.url); for await (let pathname of allPages(pageRoot)) { if (pathname.includes('proof-of-concept-dynamic')) { continue; |