release: WRNexusJS 0.8.0
Quality / quality (ubuntu-latest) (push) Failing after 21s
Quality / quality (windows-latest) (push) Canceled after 0s

This commit is contained in:
2026-08-02 23:18:51 +05:30
parent 87507edf59
commit 586a6db8ff
625 changed files with 243608 additions and 11210 deletions
+38
View File
@@ -73,4 +73,42 @@ describe("full app", () => {
expect(typeof body.message).toBe("string");
expect(body.lang).toBeTruthy();
});
test("language-server playground renders its real interactive output", async () => {
const res = await app.fetch("/language-tools");
expect(res.status).toBe(200);
const html = await res.text();
expect(html).toContain("Language server playground");
expect(html).toContain("computed double:");
expect(html).toContain('data-text="doubled">0</span>');
expect(html).toContain('aria-live="polite"');
});
test("login renders real accessible fields without an accidental Card component", async () => {
const res = await app.fetch("/login?next=/dashboard");
expect(res.status).toBe(200);
const html = await res.text();
expect(html).toContain('name="email"');
expect(html).toContain('name="password"');
expect(html).toContain('autocomplete="current-password"');
expect(html).not.toContain("Card title");
});
test("platform showcase uses the public layout and styled reactive primitives", async () => {
const res = await app.fetch("/platform-showcase");
expect(res.status).toBe(200);
const html = await res.text();
expect(html).toContain("WrNexus");
expect(html).toContain('data-wrn-dynamic-component="Admin"');
expect(html).toContain('data-wrn-portal="#showcase-modal"');
expect(html).toContain("platform-showcase");
});
test("async data page renders its server loader without a cache failure", async () => {
const res = await app.fetch("/async-data");
expect(res.status).toBe(200);
const html = await res.text();
expect(html).toContain("Rendered by the server loader");
expect(html).toContain("Loading the browser profile");
});
});