Page MenuHomeSealhub

component-arguments.test.ts
No OneTemporary

component-arguments.test.ts

import { Enum, List, ShortText, Structured } from "./component-arguments";
describe("component arguments", () => {
it("handles nesting objects and arrays", () => {
new List(new ShortText());
new List(
new Structured({ name: new ShortText(), surname: new ShortText() })
);
});
it("handles enums", () => {
new Enum(<const>["hamster", "dentist"]);
});
});

File Metadata

Mime Type
text/x-java
Expires
Fri, Jan 24, 16:50 (7 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
601150
Default Alt Text
component-arguments.test.ts (370 B)

Event Timeline