##// END OF EJS Templates
bind event handler methods marked with `@on` before subscribing the event
bind event handler methods marked with `@on` before subscribing the event

File last commit:

r65:8ac132c83639 default
r77:bc7556143fe5 v1.2.2 default
Show More
dummy.ts
17 lines | 432 B | video/mp2t | TypeScriptLexer
import { test } from "./TestTraits";
import { delay } from "@implab/core-amd/safe";
import { assert } from "chai";
import css = require("@implab/djx/css!my.css");
test("simple", (ok, fail, log) => {
setTimeout(() => {
// end should be called after the last assertion
ok("async assert");
}, 100);
});
test("simple", async (log, fail) => {
await delay(0);
assert.ok(true); // everything is fine
});