diff options
author | Thomas <tmashuang@gmail.com> | 2018-04-05 05:26:18 +0800 |
---|---|---|
committer | Thomas <tmashuang@gmail.com> | 2018-04-05 05:26:18 +0800 |
commit | 7aa54916d8508aababd202eef2e57bc90c6c842d (patch) | |
tree | 24e4f38d95d95cf1f4b1287ecd6dd4c9b3ab0e36 /test/unit/metamask-controller-test.js | |
parent | 68808c8e242bd6240ef8f4d73f91514fc73b32f0 (diff) | |
download | tangerine-wallet-browser-7aa54916d8508aababd202eef2e57bc90c6c842d.tar.gz tangerine-wallet-browser-7aa54916d8508aababd202eef2e57bc90c6c842d.tar.zst tangerine-wallet-browser-7aa54916d8508aababd202eef2e57bc90c6c842d.zip |
Update Sinon methods. sinon.sandbox.create() -> sandbox.createSandbox()
Diffstat (limited to 'test/unit/metamask-controller-test.js')
-rw-r--r-- | test/unit/metamask-controller-test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/metamask-controller-test.js b/test/unit/metamask-controller-test.js index 3e696a9c3..b65e9184d 100644 --- a/test/unit/metamask-controller-test.js +++ b/test/unit/metamask-controller-test.js @@ -8,7 +8,7 @@ const firstTimeState = require('../../app/scripts/first-time-state') describe('MetaMaskController', function () { let metamaskController - const sandbox = sinon.sandbox.create() + const sandbox = sinon.createSandbox() const noop = () => {} beforeEach(function () { @@ -36,7 +36,7 @@ describe('MetaMaskController', function () { encryptor: { encrypt: function (password, object) { this.object = object - return Promise.resolve() + return Promise.resolve()g }, decrypt: function () { return Promise.resolve(this.object) |