Skip to content

Commit

Permalink
Add purposeful failure test to examine travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
patgrasso committed Aug 2, 2016
1 parent 86a375f commit 84ff798
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ install:

script:
- npm run lint
- npm test
after_script:
- npm run coveralls

Expand Down
4 changes: 3 additions & 1 deletion spec/rules-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*global describe, it, expect, beforeAll*/
/*global describe, it, expect, beforeAll, fail*/

const Sym = require('../lib/rules').Sym;
const Rule = require('../lib/rules').Rule;
Expand Down Expand Up @@ -85,5 +85,7 @@ describe('Rule', () => {
expect(filteredRhs.length).toBe(3);
});

it('force fail', () => fail());

});

0 comments on commit 84ff798

Please sign in to comment.