<@U2T92KXP0> I don't think I need `mocha --delay`....
# javascript
c
@anton.bannykh I don't think I need
mocha --delay
. As Al Scott pointed out, I should have used Mocha async tests from the beginning. I solved it by creating external definitions for `describe`/`it` from Mocha.
Copy code
val MyTest = describe("io.my.package") {
    describe("MyTest") {
        it("should check interval") { done ->
            window.setInterval({
                assertEquals(1, 1)
                done()
            }, 100)
        }
    }
}