##// END OF EJS Templates
typescript strict mode...
typescript strict mode Added TAP traits, TAP text writer

File last commit:

r1:b6ccfccf314f default
r1:b6ccfccf314f default
Show More
dummy.ts
16 lines | 376 B | video/mp2t | TypeScriptLexer
import { test } from "./TestTraits";
import { delay } from "@implab/core-amd/safe";
import { assert } from "chai";
test("simple", (ok, fail, log) => {
setTimeout(() => {
// end should be called after the last assertion
ok("async assert");
}, 100);
});
test("simple", async log => {
await delay(0);
assert.ok(true); // everything is fine
});