Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
cosa65 committed Apr 29, 2022
1 parent 638c6c5 commit 03a8584
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/__test__/redux/reducers/samplesReducer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,10 @@ describe('samplesReducer', () => {
});

expect(newState[sample1.uuid].fileNames).toEqual([fileName]);
expect(newState[sample1.uuid].files[fileName]).toEqual(mockFile);
expect(newState[sample1.uuid].files[fileName]).toEqual({
lastModified: 'newLastModified',
...mockFile,
});
expect(newState).toMatchSnapshot();
});

Expand Down

0 comments on commit 03a8584

Please sign in to comment.