mirror of
https://github.com/apache/superset.git
synced 2026-04-25 19:14:27 +00:00
[sqllab] some frontend tests (#1400)
* [sqllab] some frontend tests * linting * Addressing comments * Addressing unaddressed comments * Touchups
This commit is contained in:
committed by
GitHub
parent
7c5933732b
commit
940659bc14
@@ -1,13 +1,14 @@
|
||||
import React from 'react';
|
||||
import { beforeEach, describe, it } from 'mocha';
|
||||
import { expect } from 'chai';
|
||||
import { shallow } from 'enzyme';
|
||||
|
||||
import QueryAndSaveButtons from '../../../../javascripts/explore/components/QueryAndSaveBtns';
|
||||
|
||||
describe('QueryAndSaveButtons', () => {
|
||||
let defaultProps = {
|
||||
const defaultProps = {
|
||||
canAdd: 'True',
|
||||
onQuery: () => {}
|
||||
onQuery: () => {},
|
||||
};
|
||||
|
||||
// It must render
|
||||
|
||||
Reference in New Issue
Block a user