release: WRNexusJS 0.5.13
This commit is contained in:
@@ -194,10 +194,10 @@ test("auth form uses package schemas, disables native validation, and renders a
|
||||
|
||||
test("footer supports typed entries, responsive columns, pre/post slots, and events", () => {
|
||||
const source = readFileSync(uiComponentPath("Footer"), "utf8");
|
||||
expect(source).toContain('slot name="pre-footer"');
|
||||
expect(source).toContain('slot name="post-footer"');
|
||||
expect(source).toContain('slot name="copyright-left"');
|
||||
expect(source).toContain('slot name="copyright-right"');
|
||||
expect(source).toMatch(/<slot\s+name="pre-footer"\s*>/);
|
||||
expect(source).toMatch(/<slot\s+name="post-footer"\s*>/);
|
||||
expect(source).toMatch(/<slot\s+name="copyright-left"\s*>/);
|
||||
expect(source).toMatch(/<slot\s+name="copyright-right"\s*>/);
|
||||
expect(source).toContain('item.type === "header"');
|
||||
expect(source).toContain("wire-footer--columns-{columns}");
|
||||
expect(source).toContain("@event select = function");
|
||||
|
||||
Reference in New Issue
Block a user