diff options
author | 2021-04-26 16:54:20 -0500 | |
---|---|---|
committer | 2021-04-26 15:54:20 -0600 | |
commit | dea1a6dfc9dec54034d2b872b4cd36c0174814c6 (patch) | |
tree | 49569a511201b4defc23b6654b475e458452596a /test/astro-markdown.test.js | |
parent | 0ea4a986e207238bf0ac1db841b2a5d5b567d84d (diff) | |
download | astro-dea1a6dfc9dec54034d2b872b4cd36c0174814c6.tar.gz astro-dea1a6dfc9dec54034d2b872b4cd36c0174814c6.tar.zst astro-dea1a6dfc9dec54034d2b872b4cd36c0174814c6.zip |
Update defaults directory structure to `src` and `dist` (#132)
* chore: update defaults in docs
* chore: update config defaults
* test: update tests to config defaults
* chore: update gitignore to new defaults
* docs: update readme to new defaults
* chore: update examples to new defaults
* chore: update default exclude in lang server
* chore: update tests
* test: fix failing tests
* chore: update www defaults
Diffstat (limited to 'test/astro-markdown.test.js')
-rw-r--r-- | test/astro-markdown.test.js | 6 |
1 files changed, 3 insertions, 3 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(); |