mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
feat(explore): adhoc column formatting for Table chart (#13758)
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
import React from 'react';
|
||||
import { ColumnType } from '@superset-ui/core';
|
||||
import { render, screen } from 'spec/helpers/testing-library';
|
||||
import AdhocMetric from 'src/explore/components/controls/MetricControl/AdhocMetric';
|
||||
import AdhocFilter, {
|
||||
@@ -62,7 +63,7 @@ test('renders options with column', () => {
|
||||
render(
|
||||
<DndFilterSelect
|
||||
{...defaultProps}
|
||||
columns={[{ id: 1, type: 'string', column_name: 'Column' }]}
|
||||
columns={[{ id: 1, type: ColumnType.STRING, column_name: 'Column' }]}
|
||||
/>,
|
||||
{
|
||||
useDnd: true,
|
||||
|
||||
Reference in New Issue
Block a user