Skip to content

Commit

Permalink
Adjusted tests a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
pklaschka committed Jan 25, 2019
1 parent f5919f8 commit 25cab8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/storageHelper.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ describe('storage helper', () => {
const storageHelper = require('../storage-helper');
mockFileExists = false;
expect(mockFileExists).toBe(false);
expect(await storageHelper.get('unknown', 3)).toBe(3);
expect(await storageHelper.get('unknown', 111)).toBe(111);
expect(await storageHelper.get('unknown', 5)).toBe(111);
expect(mockFileExists).toBe(true);
done();
});
Expand Down

0 comments on commit 25cab8b

Please sign in to comment.