aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/migrations/023-test.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2018-07-04 00:40:25 +0800
committerGitHub <noreply@github.com>2018-07-04 00:40:25 +0800
commit1f0cf11af1c94e750bbc4c5238c3ee028350a6c6 (patch)
tree5e8d89ef2d904d7b8dffaa356a6b21a8b542a693 /test/unit/migrations/023-test.js
parent4d9ef0dd7f3e788f7734c505b72edb4657ddec9d (diff)
parent53f1072ff467d6284d1fc3143330961749baaf5e (diff)
downloadtangerine-wallet-browser-1f0cf11af1c94e750bbc4c5238c3ee028350a6c6.tar.gz
tangerine-wallet-browser-1f0cf11af1c94e750bbc4c5238c3ee028350a6c6.tar.zst
tangerine-wallet-browser-1f0cf11af1c94e750bbc4c5238c3ee028350a6c6.zip
Merge pull request #4712 from MetaMask/lint-fix
Lint - Lint all the things (without conflicts!)
Diffstat (limited to 'test/unit/migrations/023-test.js')
-rw-r--r--test/unit/migrations/023-test.js12
1 files changed, 5 insertions, 7 deletions
diff --git a/test/unit/migrations/023-test.js b/test/unit/migrations/023-test.js
index be432d9fa..7da94448d 100644
--- a/test/unit/migrations/023-test.js
+++ b/test/unit/migrations/023-test.js
@@ -1,12 +1,11 @@
const assert = require('assert')
const migration23 = require('../../../app/scripts/migrations/023')
-const properTime = (new Date()).getTime()
const storage = {
- "meta": {},
- "data": {
- "TransactionController": {
- "transactions": [
- ]
+ 'meta': {},
+ 'data': {
+ 'TransactionController': {
+ 'transactions': [
+ ],
},
},
}
@@ -53,7 +52,6 @@ while (transactions20.length < 20) {
}
-
storage.data.TransactionController.transactions = transactions
describe('storage is migrated successfully and the proper transactions are remove from state', () => {