mirror of
https://github.com/apache/superset.git
synced 2026-05-07 08:54:23 +00:00
Fix types
This commit is contained in:
@@ -121,6 +121,7 @@ export const TestDataset: Dataset = {
|
||||
main_dttm_col: 'ds',
|
||||
metrics: [
|
||||
{
|
||||
uuid: '123',
|
||||
certification_details: null,
|
||||
certified_by: null,
|
||||
d3format: null,
|
||||
|
||||
@@ -168,6 +168,7 @@ test('should get null as tooltip in metric', () => {
|
||||
expect(
|
||||
getMetricTooltipNode(
|
||||
{
|
||||
uuid: '123',
|
||||
metric_name: 'count',
|
||||
label: '',
|
||||
verbose_name: '',
|
||||
@@ -184,6 +185,7 @@ test('should get metric name, verbose name and description as tooltip in metric'
|
||||
<>
|
||||
{getMetricTooltipNode(
|
||||
{
|
||||
uuid: '123',
|
||||
metric_name: 'count',
|
||||
label: 'count(*)',
|
||||
verbose_name: 'count(*)',
|
||||
@@ -207,6 +209,7 @@ test('should get metric name as tooltip if it overflowed', () => {
|
||||
<>
|
||||
{getMetricTooltipNode(
|
||||
{
|
||||
uuid: '123',
|
||||
metric_name: 'long long long long metric name',
|
||||
label: '',
|
||||
verbose_name: '',
|
||||
@@ -228,6 +231,7 @@ test('should get metric name, verbose name and description in tooltip if it over
|
||||
<>
|
||||
{getMetricTooltipNode(
|
||||
{
|
||||
uuid: '123',
|
||||
metric_name: 'count',
|
||||
label: '',
|
||||
verbose_name: 'longlonglonglonglong verbose metric',
|
||||
|
||||
Reference in New Issue
Block a user