##// END OF EJS Templates
implemented @on("event-name") decorator for event handlers
implemented @on("event-name") decorator for event handlers

File last commit:

r65:8ac132c83639 default
r73:fdde09e66c00 v1.2.0 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
});