Vows freezes if error is returned to callback and sub-contexts exist #285

Open
scriby opened this Issue Sep 25, 2013 · 0 comments

Projects

None yet

2 participants

@scriby
scriby commented Sep 25, 2013

The issue can be reproduced with the following:

suite.addBatch({
    a: {
        topic: function () {
            this.callback('err');
        },

        b: function () {},

        c: {
            topic: function(){
                return true;
            },

            d: function(){}
        }

    }
});

Take out the sub-context and vows doesn't freeze. I'm using vows 0.7.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment