release: WRNexusJS 0.5.10
This commit is contained in:
1 parent
8fc6f15402
commit
d1b0c55b53
159 files changed
+7509
-604
No files matched your search
@@ -65,3 +65,11 @@ test("collectScripts automatically adds a referenced package runtime once", () =
|
||||
),
|
||||
).toHaveLength(1);
|
||||
});
|
||||
|
||||
test("collectScripts omits client navigation in document mode", () => {
|
||||
const scripts = collectScripts("<main>Server rendered</main>", [], {
|
||||
mode: "document",
|
||||
});
|
||||
|
||||
expect(scripts).not.toContain("/__wrnexus/nav.js");
|
||||
});
|
||||
Reference in new issue
Block a user