jonkemp / jonkemp/gulp-qunit

Output '{' in console will make test failed

Open
#34 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
24
Forks
19
PR merge metrics
No merged PRs in 30d

Description

if we run `console.warn('..... function _Class() {....}')` during test, we will got

```
events.js:141
throw er; // Unhandled 'error' event
^
SyntaxError: Unexpected token o
at Object.parse (native)
at /Users/jareguo/firebox/fireball/node_modules/gulp-qunit/index.js:51:40
at Array.forEach (native)
```

It seems like we should add use try catch here https://github.com/jonkemp/gulp-qunit/blob/master/index.js#L71

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.