Skip to content

Commit

Permalink
(tests) fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanBaptisteWATENBERG committed May 27, 2018
1 parent 6fad9f4 commit 13ac37c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/index-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ describe('JsonPathEditor', () => {
it('should not reflect prop value change to state when value is undefined', () => {
const wrapper = mount(<JsonPathEditor value='$' />);
expect(wrapper.state().value).toEqual('$')
const value;
let value;
wrapper.setProps({value})
expect(wrapper.state().value).toEqual('$')
})
Expand Down

0 comments on commit 13ac37c

Please sign in to comment.