fix: optimize mapStateToProps for chart controls (#10264)

This commit is contained in:
Jesse Yang
2020-07-09 00:33:48 -07:00
committed by GitHub
parent 8d9bb5f472
commit e94c9804a2
6 changed files with 63 additions and 28 deletions

View File

@@ -199,7 +199,6 @@ describe('ExploreResultsButton', () => {
const calls = fetchMock.calls(visualizeEndpoint);
expect(calls).toHaveLength(1);
const formData = calls[0][1].body;
Object.keys(mockOptions).forEach(key => {
// eslint-disable-next-line no-unused-expressions
expect(formData.get(key)).toBeDefined();