Skip to content

Commit

Permalink
remove clear example from README.md (would throw an error) (#128)
Browse files Browse the repository at this point in the history
Co-authored-by: Bryan Clark <[email protected]>
  • Loading branch information
flbraun and Bryan Clark authored Apr 15, 2021
1 parent 9a8fd17 commit dab8aae
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,6 @@ beforeEach(() => {

// clearAllMocks will impact your other mocks too, so you can optionally reset individual mocks instead:
localStorage.setItem.mockClear();
// you can also directly reset the storage (same as .clear above)
localStorage.__STORE__ = {};
});

test('should not impact the next test', () => {
Expand Down

0 comments on commit dab8aae

Please sign in to comment.