mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
refactor: Creates the VizType enum (#31193)
This commit is contained in:
committed by
GitHub
parent
dbcb473040
commit
93ba8e16c3
@@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
import { JsonObject } from '@superset-ui/core';
|
||||
import { JsonObject, VizType } from '@superset-ui/core';
|
||||
import { getExploreFormData } from 'spec/fixtures/mockExploreFormData';
|
||||
import { getDashboardFormData } from 'spec/fixtures/mockDashboardFormData';
|
||||
import { getFormDataWithDashboardContext } from './getFormDataWithDashboardContext';
|
||||
@@ -144,7 +144,7 @@ const getExpectedResultFormData = (overrides: JsonObject = {}) => ({
|
||||
},
|
||||
slice_id: 46,
|
||||
time_range: 'Last month',
|
||||
viz_type: 'pie',
|
||||
viz_type: VizType.Pie,
|
||||
label_colors: {
|
||||
Girls: '#FF69B4',
|
||||
Boys: '#ADD8E6',
|
||||
|
||||
Reference in New Issue
Block a user