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',
metrics: [
{
uuid: '123',
certification_details: null,
certified_by: null,
d3format: null,

View File

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