Skip to content

Commit

Permalink
test: revert case in useSessionStorage
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyib committed Aug 21, 2023
1 parent 35e9d7e commit ca342d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('useSessionStorageState', () => {
});
});
expect(anotherHook.result.current.state).toEqual({ name: 'C' });
expect(hook.result.current.state).toEqual({ name: 'C' });
expect(hook.result.current.state).toEqual({ name: 'B' });
});

it('should support function updater', () => {
Expand Down

0 comments on commit ca342d1

Please sign in to comment.