From b2caf517b1fce475dccd511768431d2d8a48fd83 Mon Sep 17 00:00:00 2001 From: dkmyta Date: Fri, 25 Oct 2024 10:43:53 -0700 Subject: [PATCH] Fix test imports --- .../components/threats-data-views/test/index.test.tsx | 3 ++- .../components/threats-data-views/{types.d.ts => types.ts} | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename projects/js-packages/components/components/threats-data-views/{types.d.ts => types.ts} (100%) diff --git a/projects/js-packages/components/components/threats-data-views/test/index.test.tsx b/projects/js-packages/components/components/threats-data-views/test/index.test.tsx index eb6ef8b6581bc..cf5482e4e1ddb 100644 --- a/projects/js-packages/components/components/threats-data-views/test/index.test.tsx +++ b/projects/js-packages/components/components/threats-data-views/test/index.test.tsx @@ -1,6 +1,6 @@ import { render, screen } from '@testing-library/react'; import ThreatsDataViews from '..'; -import { Threat } from '../types'; +import { type Threat } from '../types'; const data = [ { @@ -23,6 +23,7 @@ const data = [ marks: {}, }, source: null, + fixer: null, }, ] as Threat[]; diff --git a/projects/js-packages/components/components/threats-data-views/types.d.ts b/projects/js-packages/components/components/threats-data-views/types.ts similarity index 100% rename from projects/js-packages/components/components/threats-data-views/types.d.ts rename to projects/js-packages/components/components/threats-data-views/types.ts