mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
refactor: Creates the VizType enum (#31193)
This commit is contained in:
committed by
GitHub
parent
dbcb473040
commit
93ba8e16c3
@@ -17,6 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
import { VizType } from '@superset-ui/core';
|
||||
import { WordCloudFormData } from '../src';
|
||||
import buildQuery from '../src/plugin/buildQuery';
|
||||
|
||||
@@ -25,7 +26,7 @@ describe('WordCloud buildQuery', () => {
|
||||
datasource: '5__table',
|
||||
granularity_sqla: 'ds',
|
||||
series: 'foo',
|
||||
viz_type: 'word_cloud',
|
||||
viz_type: VizType.WordCloud,
|
||||
};
|
||||
|
||||
it('should build columns from series in form data', () => {
|
||||
|
||||
Reference in New Issue
Block a user