chore: Updated sinon to version 7.5.0

This commit is contained in:
Luca Greco 2019-11-26 16:27:44 +01:00
parent 5f1fbcc72c
commit 2005a2ca22
2 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@
"selenium-webdriver": "^4.0.0-alpha.1", "selenium-webdriver": "^4.0.0-alpha.1",
"serve-static": "^1.13.1", "serve-static": "^1.13.1",
"shelljs": "^0.8.2", "shelljs": "^0.8.2",
"sinon": "^1.17.6", "sinon": "^7.5.0",
"tap-nirvana": "^1.0.8", "tap-nirvana": "^1.0.8",
"tape": "^4.9.1", "tape": "^4.9.1",
"tape-async": "^2.3.0", "tape-async": "^2.3.0",

View File

@ -212,8 +212,8 @@ describe("browser-polyfill", () => {
// Call pageAction.show and hide again to ensure that only after a successfull // 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. // API call the wrapper will always call the API method without the callback parameter.
fakeChrome.pageAction.show.reset(); fakeChrome.pageAction.show.resetHistory();
fakeChrome.pageAction.hide.reset(); fakeChrome.pageAction.hide.resetHistory();
const secondPageActionShowPromise = browser.pageAction.show(1).catch(err => err); const secondPageActionShowPromise = browser.pageAction.show(1).catch(err => err);
const secondPageActionHidePromise = browser.pageAction.hide(undefined).catch(err => err); const secondPageActionHidePromise = browser.pageAction.hide(undefined).catch(err => err);