Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Commit

Permalink
Change test so that it explicitly checks that an Exception isn't thrown
Browse files Browse the repository at this point in the history
  • Loading branch information
steponas committed Jul 10, 2018
1 parent 4441b6d commit d6abaad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/__tests__/index.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ test('Get exception stack frames', t => {
});

test("Don't break on cross-origin exceptions", t => {
t.plan(0);
t.plan(1);

const app = new App('test', el => el);

Expand All @@ -70,7 +70,7 @@ test("Don't break on cross-origin exceptions", t => {

app.register(ErrorHandlingPlugin);

getSimulator(app);
t.doesNotThrow(() => getSimulator(app));

t.end();
});

0 comments on commit d6abaad

Please sign in to comment.