mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
test(datetime): fix flaky assertion
This commit is contained in:
@ -145,7 +145,7 @@ test.describe('datetime: confirm date', () => {
|
||||
|
||||
await ionChange.next();
|
||||
|
||||
expect(datetime).toHaveJSProperty('value', '2021-12-25T12:40:00');
|
||||
await expect(datetime).toHaveJSProperty('value', '2021-12-25T12:40:00');
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user