summaryrefslogtreecommitdiff
path: root/packages/integrations/deno/test/helpers.js
diff options
context:
space:
mode:
authorGravatar Juan Martín Seery <me@juanm04.com> 2022-03-31 14:58:03 -0300
committerGravatar GitHub <noreply@github.com> 2022-03-31 13:58:03 -0400
commitd10c3dea215bf0c7a4bfd037908c147d0cdffd05 (patch)
treeec53d8e13121c87738dda18b7ad43dd160c4e6e2 /packages/integrations/deno/test/helpers.js
parente8604086929c2807cd00591b5cc5c69cbf481026 (diff)
downloadastro-d10c3dea215bf0c7a4bfd037908c147d0cdffd05.tar.gz
astro-d10c3dea215bf0c7a4bfd037908c147d0cdffd05.tar.zst
astro-d10c3dea215bf0c7a4bfd037908c147d0cdffd05.zip
fix: `--experimental-ssr` fixes (#2937)
* Replaced `--experimental-ssr` with `isBuildingToSSR` * changest * Improved `isBuildingToSSR` a bit * Added `isBuildingToSSR` to more places!!1! * Added `@deprecated` tag * Replaced missing experimentalSsr * Added failing test * Removed test * Re-added experimental ssr flag * Fixed typo Co-authored-by: Matthew Phillips <matthew@skypack.dev> * Fixed deno tests Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Diffstat (limited to '')
-rw-r--r--packages/integrations/deno/test/helpers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/integrations/deno/test/helpers.js b/packages/integrations/deno/test/helpers.js
index 659d24d5e..bc2bc0622 100644
--- a/packages/integrations/deno/test/helpers.js
+++ b/packages/integrations/deno/test/helpers.js
@@ -13,7 +13,7 @@ export async function runBuild(fixturePath) {
export async function runBuildAndStartApp(fixturePath, cb) {
const url = new URL(fixturePath, dir);
const close = await runBuild(fixturePath);
- const mod = await import(new URL('./dist/entry.mjs', url));
+ const mod = await import(new URL('./dist/server/entry.mjs', url));
await cb();
await mod.stop();
await close();