Skip to content

Infinite loop when known test can't be reached #41

@soxtoby

Description

@soxtoby
var i = 0;
test( function () {
    if (i++) throw 'error';
    test("one", function () { });
    test("two", function () { });
});

The first time through is OK and basil knows it still needs to run the "two" test, but it never makes it there and keeps trying until the browser tab crashes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions