dummy.ts
17 lines
| 432 B
| video/mp2t
|
TypeScriptLexer
cin
|
r65 | 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 | ||||
}); | ||||