##// END OF EJS Templates
Добавлена метка v1.2.7 для набора изменений 70058deb750d
Добавлена метка v1.2.7 для набора изменений 70058deb750d

File last commit:

r79:e5bb5e80ce96 v1.2.3 default
r88:853046db16dc default
Show More
dummy.ts
16 lines | 384 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, fail) => {
await delay(0);
assert.ok(true); // everything is fine
});