Skip to content

Commit

Permalink
State: Reset console warn stub before each test
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed Feb 24, 2016
1 parent e605c38 commit f49571d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/lib/create-selector/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ describe( '#createSelector', () => {
} );

beforeEach( () => {
console.warn.reset();
selector.reset();
getSitePosts.memoizedSelector.cache.clear();
} );
Expand Down

0 comments on commit f49571d

Please sign in to comment.