feat: reduce number of island bundles (#2082)
This commit is contained in:
+2
-2
@@ -63,7 +63,7 @@ async function testBuild(
|
||||
|
||||
await t.step("check snapshot file", async () => {
|
||||
assert(
|
||||
Array.isArray(snapshot.files["island-counter_default.js"]),
|
||||
Array.isArray(snapshot.files["island-counter.js"]),
|
||||
"Island output file not found in snapshot",
|
||||
);
|
||||
assert(
|
||||
@@ -252,7 +252,7 @@ Deno.test("pass target options", async () => {
|
||||
|
||||
const { stdout, stderr } = getStdOutput(out);
|
||||
const txt = await Deno.readTextFile(
|
||||
path.join(fixture, "_fresh", "island-counter_default.js"),
|
||||
path.join(fixture, "_fresh", "island-counter.js"),
|
||||
);
|
||||
|
||||
assertNotMatch(
|
||||
|
||||
Reference in New Issue
Block a user