mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
committed by
GitHub
parent
5d3265b6db
commit
fc20e8b594
@@ -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