Skip to content

Commit

Permalink
chore: Updated sinon to version 7.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rpl committed Nov 27, 2019
1 parent 5f1fbcc commit 2005a2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"selenium-webdriver": "^4.0.0-alpha.1",
"serve-static": "^1.13.1",
"shelljs": "^0.8.2",
"sinon": "^1.17.6",
"sinon": "^7.5.0",
"tap-nirvana": "^1.0.8",
"tape": "^4.9.1",
"tape-async": "^2.3.0",
Expand Down
4 changes: 2 additions & 2 deletions test/test-async-functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ describe("browser-polyfill", () => {
// Call pageAction.show and hide again to ensure that only after a successfull
// API call the wrapper will always call the API method without the callback parameter.

fakeChrome.pageAction.show.reset();
fakeChrome.pageAction.hide.reset();
fakeChrome.pageAction.show.resetHistory();
fakeChrome.pageAction.hide.resetHistory();

const secondPageActionShowPromise = browser.pageAction.show(1).catch(err => err);
const secondPageActionHidePromise = browser.pageAction.hide(undefined).catch(err => err);
Expand Down

0 comments on commit 2005a2c

Please sign in to comment.