Skip to content

Commit

Permalink
Testing updates (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
Urthen authored Jan 24, 2019
1 parent e400f17 commit 1e2a0fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ env:
- WEBPACK_VERSION=3
- WEBPACK_VERSION=4

matrix:
exclude:
- node_js: "4"
env: WEBPACK_VERSION=4

install:
- npm install
- npm rm webpack
Expand Down
4 changes: 2 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ describe('CaseSensitivePathsPlugin', () => {
resolved = true;
watcher.close(done);
} else {
throw Error('Did not detect error when folder was deleted. Try rerunning the test.');
done(Error('Did not detect error when folder was deleted. Try rerunning the test.'));
}
});
});
}).timeout(4000); // This sometimes times out.

it('should handle the creation of a new file', (done) => {
const compiler = webpackCompilerAtDir('file-creation');
Expand Down

0 comments on commit 1e2a0fd

Please sign in to comment.