diff options
author | frankiebee <frankie.diamond@gmail.com> | 2018-04-06 09:05:03 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2018-04-06 09:05:03 +0800 |
commit | 7d243aacf9db9dc8e3e2e3acfc54298ffc06fe12 (patch) | |
tree | 0dd0b39f45d67b88b9eda83337fdf5c2a6f45864 /test/unit/migrator-test.js | |
parent | 1ba74c1566fe67f610a730c362b3989e63787d4c (diff) | |
download | tangerine-wallet-browser-7d243aacf9db9dc8e3e2e3acfc54298ffc06fe12.tar tangerine-wallet-browser-7d243aacf9db9dc8e3e2e3acfc54298ffc06fe12.tar.gz tangerine-wallet-browser-7d243aacf9db9dc8e3e2e3acfc54298ffc06fe12.tar.bz2 tangerine-wallet-browser-7d243aacf9db9dc8e3e2e3acfc54298ffc06fe12.tar.lz tangerine-wallet-browser-7d243aacf9db9dc8e3e2e3acfc54298ffc06fe12.tar.xz tangerine-wallet-browser-7d243aacf9db9dc8e3e2e3acfc54298ffc06fe12.tar.zst tangerine-wallet-browser-7d243aacf9db9dc8e3e2e3acfc54298ffc06fe12.zip |
create migration 25
Diffstat (limited to 'test/unit/migrator-test.js')
-rw-r--r-- | test/unit/migrator-test.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/unit/migrator-test.js b/test/unit/migrator-test.js index 9e8b59958..2bad7da51 100644 --- a/test/unit/migrator-test.js +++ b/test/unit/migrator-test.js @@ -36,10 +36,9 @@ const firstTimeState = { data: require('../../app/scripts/first-time-state'), } -describe.only('Migrator', () => { +describe('Migrator', () => { const migrator = new Migrator({ migrations: stubMigrations }) it('migratedData version should be version 3', (done) => { - migrator.on('error', console.log) migrator.migrateData(versionedData) .then((migratedData) => { assert.equal(migratedData.meta.version, stubMigrations[2].version) @@ -49,7 +48,6 @@ describe.only('Migrator', () => { it('should match the last version in live migrations', (done) => { const migrator = new Migrator({ migrations: liveMigrations }) - migrator.on('error', console.log) migrator.migrateData(firstTimeState) .then((migratedData) => { console.log(migratedData) |