import { test } from "./TestTraits"; import { delay } from "@implab/core-amd/safe"; import { assert } from "chai"; import css = require("@implab/djx/css!my,css"); import {} from "@implab/djx/i18n"; 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 });