mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
test(toast): fix unit test
This commit is contained in:
@@ -12,9 +12,8 @@ describe('Toast', () => {
|
||||
showCloseButton: true
|
||||
});
|
||||
|
||||
expect(toast.message).toEqual('Please Wait...');
|
||||
expect(toast.showCloseButton).toEqual(true);
|
||||
expect(toast.closeButtonText).toEqual('Close');
|
||||
expect(toast.data.message).toEqual('Please Wait...');
|
||||
expect(toast.data.showCloseButton).toEqual(true);
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user