diff options
author | kumavis <kumavis@users.noreply.github.com> | 2017-05-05 09:01:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-05 09:01:46 +0800 |
commit | f01891fc019b748151365cf7b04cbc26c94f3d06 (patch) | |
tree | c54cdcacb46b91ba5bd22451ec72f8a092495b22 /test/unit/migrations-test.js | |
parent | a72f50509010a12bf4fb879f2c638a38d2a210d2 (diff) | |
parent | 1e4855fc0e2e89ebe6b50ff8d34762f742433110 (diff) | |
download | tangerine-wallet-browser-f01891fc019b748151365cf7b04cbc26c94f3d06.tar.gz tangerine-wallet-browser-f01891fc019b748151365cf7b04cbc26c94f3d06.tar.zst tangerine-wallet-browser-f01891fc019b748151365cf7b04cbc26c94f3d06.zip |
Merge pull request #1376 from MetaMask/1061-Linting-Tests
1061 linting tests
Diffstat (limited to 'test/unit/migrations-test.js')
-rw-r--r-- | test/unit/migrations-test.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/unit/migrations-test.js b/test/unit/migrations-test.js index ccd1477b0..324e4d056 100644 --- a/test/unit/migrations-test.js +++ b/test/unit/migrations-test.js @@ -3,7 +3,7 @@ const path = require('path') const wallet1 = require(path.join('..', 'lib', 'migrations', '001.json')) const vault4 = require(path.join('..', 'lib', 'migrations', '004.json')) -let vault5, vault6, vault7, vault8, vault9, vault10, vault11 +let vault5, vault6, vault7, vault8, vault9 // vault10, vault11 const migration2 = require(path.join('..', '..', 'app', 'scripts', 'migrations', '002')) const migration3 = require(path.join('..', '..', 'app', 'scripts', 'migrations', '003')) @@ -23,7 +23,6 @@ const newTestRpc = 'https://testrpc.metamask.io/' describe('wallet1 is migrated successfully', () => { it('should convert providers', () => { - wallet1.data.config.provider = { type: 'etherscan', rpcTarget: null } return migration2.migrate(wallet1) @@ -99,6 +98,5 @@ describe('wallet1 is migrated successfully', () => { assert.equal(twelfthResult.data.NoticeController.noticesList[0].body, '', 'notices that have been read should have an empty body.') assert.equal(twelfthResult.data.NoticeController.noticesList[1].body, 'nonempty', 'notices that have not been read should not have an empty body.') }) - }) }) |