Fix types

This commit is contained in:
Kamil Gabryjelski
2025-03-07 20:17:56 +01:00
parent dd988c7758
commit 63d2e5cabf
2 changed files with 5 additions and 0 deletions

View File

@@ -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,

View File

@@ -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',