mirror of
https://github.com/apache/superset.git
synced 2026-05-09 09:55:19 +00:00
committed by
Ville Brofeldt
parent
5e4ce48ccf
commit
f659d66fee
@@ -109,7 +109,7 @@ describe('FiltersConfigModal', () => {
|
||||
await clickCancel();
|
||||
expect(onCancel.mock.calls).toHaveLength(0);
|
||||
expect(wrapper.find(Alert).text()).toContain(
|
||||
'Are you sure you want to cancel? "New Filter" will not be saved.',
|
||||
'Are you sure you want to cancel? "New filter" will not be saved.',
|
||||
);
|
||||
});
|
||||
|
||||
@@ -119,7 +119,7 @@ describe('FiltersConfigModal', () => {
|
||||
await clickCancel();
|
||||
expect(onCancel.mock.calls).toHaveLength(0);
|
||||
expect(wrapper.find(Alert).text()).toContain(
|
||||
'Are you sure you want to cancel? "New Filter" and "New Filter" will not be saved.',
|
||||
'Are you sure you want to cancel? "New filter" and "New filter" will not be saved.',
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user