Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 66f40c3

Browse files
committedOct 3, 2016
Fix unit test
Errors with just a message are also deduplicated now
1 parent 63c94a1 commit 66f40c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/plugins/default/DuplicateCheckerPlugin-spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ describe('DuplicateCheckerPlugin', () => {
3838

3939
});
4040

41-
it('shouldn\'t ignore error without stack', () => {
41+
it('should ignore error without stack', () => {
4242
let exception = new ReferenceError('This is a test');
4343
delete exception.stack;
4444

4545
run(exception);
4646
let contextOfSecondRun = run(exception);
47-
expect(contextOfSecondRun.cancelled).not.to.be.true;
47+
expect(contextOfSecondRun.cancelled).to.be.true;
4848
});
4949

5050
it('shouldn\'t ignore different stack within window', () => {

0 commit comments

Comments
 (0)
Please sign in to comment.