feat(listview): feature flag config to set default viewing mode (#10986)

This commit is contained in:
ʈᵃᵢ
2020-09-22 18:01:19 -07:00
committed by GitHub
parent 220c410df4
commit 0d1f6119a6
6 changed files with 16 additions and 4 deletions

View File

@@ -78,7 +78,7 @@ fetchMock.get('/thumbnail', { body: new Blob(), sendAsJson: false });
describe('ChartList', () => {
const isFeatureEnabledMock = jest
.spyOn(featureFlags, 'isFeatureEnabled')
.mockImplementation(feature => feature === 'THUMBNAILS');
.mockImplementation(feature => feature === 'LISTVIEWS_DEFAULT_CARD_VIEW');
afterAll(() => {
isFeatureEnabledMock.restore();