add fix for extra comments for #11781 (#11902)

This commit is contained in:
Grace Guo
2020-12-02 18:13:42 -08:00
committed by GitHub
parent 721f9119e1
commit 61064b9634
3 changed files with 8 additions and 6 deletions

View File

@@ -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();
});