Skip to content

Commit

Permalink
Explicitly reference migration version in test block for that version
Browse files Browse the repository at this point in the history
  • Loading branch information
Gudahtt committed Jul 25, 2023
1 parent 4e25ff8 commit ba3370c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/store/migrations.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('Redux Persist Migrations', () => {
foo: 'bar',
};

const migration = migrations[version];
const migration = migrations[19];

const newState = migration(cloneDeep(oldState));

Expand All @@ -38,7 +38,7 @@ describe('Redux Persist Migrations', () => {
recents: '0x1',
};

const migration = migrations[version];
const migration = migrations[19];

const newState = migration(oldState);

Expand Down

0 comments on commit ba3370c

Please sign in to comment.