Skip to content

Commit

Permalink
Fix incorrect state used in test
Browse files Browse the repository at this point in the history
  • Loading branch information
talldan committed Aug 10, 2018
1 parent f3c8056 commit 6020c68
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions edit-post/store/test/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,7 @@ describe( 'selectors', () => {

it( 'returns false if the preferences activeModal property is null', () => {
const state = {
preferences: {
activeModal: null,
},
activeModal: null,
};

expect( isModalActive( state, 'test-modal' ) ).toBe( false );
Expand Down

0 comments on commit 6020c68

Please sign in to comment.