Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show an error when you run the test #48

Open
pavelpower opened this issue Dec 1, 2015 · 0 comments
Open

Show an error when you run the test #48

pavelpower opened this issue Dec 1, 2015 · 0 comments

Comments

@pavelpower
Copy link

https://github.com/enb-bem/enb-bem-specs/blob/master/lib/runner.js#L166-L169

then(function (errs) {
        var errsText = '';
        if (errorCount) {
            errsText = '\r\n' + errs.map(function(error) {
                return error._value.toString();
            }).join('\r\n');
            return vow.reject(new Error('specs: ' + errorCount + ' failing' + (errs && errs.length > 0 ? errsText : '')));
        }
    }) : vow.resolve([]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant