Skip to content

Commit 877495d

Browse files
committed
Added tick to test
1 parent 1ba0065 commit 877495d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

__tests__/suits/Area.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ describe('test ValidatorProvider', () => {
422422
);
423423

424424
area.find('input').at(0).simulate('blur');
425+
await tick();
425426
expect(area.find('div').text()).toBe('yes')
426427
});
427428
})

0 commit comments

Comments
 (0)