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