aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/infura-controller-test.js
diff options
context:
space:
mode:
authorThomas <tmashuang@gmail.com>2018-04-05 05:26:18 +0800
committerThomas <tmashuang@gmail.com>2018-04-05 05:26:18 +0800
commit7aa54916d8508aababd202eef2e57bc90c6c842d (patch)
tree24e4f38d95d95cf1f4b1287ecd6dd4c9b3ab0e36 /test/unit/infura-controller-test.js
parent68808c8e242bd6240ef8f4d73f91514fc73b32f0 (diff)
downloadtangerine-wallet-browser-7aa54916d8508aababd202eef2e57bc90c6c842d.tar
tangerine-wallet-browser-7aa54916d8508aababd202eef2e57bc90c6c842d.tar.gz
tangerine-wallet-browser-7aa54916d8508aababd202eef2e57bc90c6c842d.tar.bz2
tangerine-wallet-browser-7aa54916d8508aababd202eef2e57bc90c6c842d.tar.lz
tangerine-wallet-browser-7aa54916d8508aababd202eef2e57bc90c6c842d.tar.xz
tangerine-wallet-browser-7aa54916d8508aababd202eef2e57bc90c6c842d.tar.zst
tangerine-wallet-browser-7aa54916d8508aababd202eef2e57bc90c6c842d.zip
Update Sinon methods. sinon.sandbox.create() -> sandbox.createSandbox()
Diffstat (limited to 'test/unit/infura-controller-test.js')
-rw-r--r--test/unit/infura-controller-test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/infura-controller-test.js b/test/unit/infura-controller-test.js
index 605305efa..c9f0e7587 100644
--- a/test/unit/infura-controller-test.js
+++ b/test/unit/infura-controller-test.js
@@ -8,7 +8,7 @@ describe('infura-controller', function () {
before(async function () {
infuraController = new InfuraController()
- sandbox = sinon.sandbox.create()
+ sandbox = sinon.createSandbox()
sinon.stub(infuraController, 'checkInfuraNetworkStatus').resolves(response)
networkStatus = await infuraController.checkInfuraNetworkStatus()
})