ciscoheat / buddy

Your friendly BDD testing library for Haxe!
MIT License
96 stars 24 forks source link

Fix a bug that crash neko when it runs many async test cases. #75

Closed terurou closed 6 years ago

terurou commented 6 years ago

Fix #73 .

It makes this code work in neko.

class Main extends buddy.SingleSuite {
    public function new() {
        describe("test", {
            for (i in 0...1000) it("should pass", function (done) done());
        });
    }
}

And It makes to be able to use haxe.Timer.delay() in neko.

ciscoheat commented 6 years ago

Thank you again! How does this work?

terurou commented 6 years ago

In the old code,