aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/metamask-controller-test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/metamask-controller-test.js')
-rw-r--r--test/unit/metamask-controller-test.js4
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)