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 });