mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
refactor: Creates the VizType enum (#31193)
This commit is contained in:
committed by
GitHub
parent
dbcb473040
commit
93ba8e16c3
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { SqlaFormData } from '@superset-ui/core';
|
||||
import { SqlaFormData, VizType } from '@superset-ui/core';
|
||||
import buildQuery from '../../src/Waterfall/buildQuery';
|
||||
|
||||
describe('Waterfall buildQuery', () => {
|
||||
@@ -26,7 +26,7 @@ describe('Waterfall buildQuery', () => {
|
||||
metric: 'foo',
|
||||
x_axis: 'bar',
|
||||
groupby: ['baz'],
|
||||
viz_type: 'waterfall',
|
||||
viz_type: VizType.Waterfall,
|
||||
};
|
||||
|
||||
it('should build query fields from form data', () => {
|
||||
|
||||
Reference in New Issue
Block a user