complete UI CSS ownership remediation
This commit is contained in:
@@ -98,6 +98,17 @@ describe("full app", () => {
|
||||
expect(html).not.toContain("Card title");
|
||||
});
|
||||
|
||||
test("shared UI foundations render on demand instead of shipping in ui.css", async () => {
|
||||
const fieldResponse = await app.fetch("/modal");
|
||||
expect(fieldResponse.status).toBe(200);
|
||||
const fieldHtml = await fieldResponse.text();
|
||||
expect(fieldHtml).toContain('data-wrnexus-style-owner="FieldStyles"');
|
||||
expect(fieldHtml).toContain('data-wrnexus-style-owner="ComponentBaseStyles"');
|
||||
const selectResponse = await app.fetch("/test");
|
||||
expect(selectResponse.status).toBe(200);
|
||||
expect(await selectResponse.text()).toContain('data-wrnexus-style-owner="SelectStyles"');
|
||||
});
|
||||
|
||||
test("platform showcase uses the public layout and styled reactive primitives", async () => {
|
||||
const res = await app.fetch("/platform-showcase");
|
||||
expect(res.status).toBe(200);
|
||||
|
||||
Reference in New Issue
Block a user