mirror of
https://github.com/apache/superset.git
synced 2026-04-07 10:31:50 +00:00
@@ -152,9 +152,7 @@ describe('DatasourceEditor', () => {
|
||||
beforeAll(() => {
|
||||
isFeatureEnabledMock = jest
|
||||
.spyOn(featureFlags, 'isFeatureEnabled')
|
||||
.mockImplementation(
|
||||
feature => feature === 'ENABLE_DATASET_SOURCE_EDIT',
|
||||
);
|
||||
.mockImplementation(() => false);
|
||||
wrapper = shallow(el, { context: { store } }).dive();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user