Skip to content

Commit

Permalink
Removed a particularly brittle test case
Browse files Browse the repository at this point in the history
  • Loading branch information
markfinger committed Nov 5, 2015
1 parent fbc9ce0 commit b998c38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
language: node_js
node_js:
- "iojs"
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
- "iojs"
install:
- "npm install"
4 changes: 0 additions & 4 deletions test/Component.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,6 @@ describe('Component', function() {

component.getComponent(function(err, component) {
assert.instanceOf(err, SyntaxError);
// Node 0.10.x stack traces don't provide so much detail
if (!_.startsWith(process.version, 'v0.10')) {
assert.include(err.stack, SyntaxErrorComponent);
}
assert.isUndefined(component);
done();
});
Expand Down

0 comments on commit b998c38

Please sign in to comment.