Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienharnay committed Apr 15, 2018
1 parent 1e9d2e0 commit 16de58c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions __tests__/TelInput.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,11 @@ describe('TelInput', function () { // eslint-disable-line func-names
it('should change input placeholder on customPlaceholder prop change', () => {
const subject = this.makeSubject();

requests[0].respond(200,
{ 'Content-Type': 'text/javascript' },
libphonenumberUtils);
window.eval(getScript().text);

subject.setProps({ customPlaceholder: () => 'Phone number' });
subject.update();

Expand Down

0 comments on commit 16de58c

Please sign in to comment.