diff --git "a/packages/fakta-medisinsk-vilk\303\245r/src/ui/components/medisinsk-vilk\303\245r/tests/MedisinskVilk\303\245r.spec.tsx" "b/packages/fakta-medisinsk-vilk\303\245r/src/ui/components/medisinsk-vilk\303\245r/tests/MedisinskVilk\303\245r.spec.tsx" index 2f9f480c25..30986f1a2a 100644 --- "a/packages/fakta-medisinsk-vilk\303\245r/src/ui/components/medisinsk-vilk\303\245r/tests/MedisinskVilk\303\245r.spec.tsx" +++ "b/packages/fakta-medisinsk-vilk\303\245r/src/ui/components/medisinsk-vilk\303\245r/tests/MedisinskVilk\303\245r.spec.tsx" @@ -1,8 +1,8 @@ import { httpUtils } from '@fpsak-frontend/utils'; +import { QueryClientProvider } from '@tanstack/react-query'; import { render, waitFor } from '@testing-library/react'; import userEvent from '@testing-library/user-event'; -import React from 'react'; -import { QueryClientProvider } from '@tanstack/react-query'; +import { beforeAll, describe, it, vi } from 'vitest'; import ContainerContract from '../../../../types/ContainerContract'; import ContainerContext from '../../../context/ContainerContext'; import queryClient from '../../../context/queryClient'; diff --git "a/packages/fakta-medisinsk-vilk\303\245r/src/ui/components/strukturering-av-dokumentasjon/tests/StruktureringAvDokumentasjon.spec.tsx" "b/packages/fakta-medisinsk-vilk\303\245r/src/ui/components/strukturering-av-dokumentasjon/tests/StruktureringAvDokumentasjon.spec.tsx" index 945102db45..47f16ed18a 100644 --- "a/packages/fakta-medisinsk-vilk\303\245r/src/ui/components/strukturering-av-dokumentasjon/tests/StruktureringAvDokumentasjon.spec.tsx" +++ "b/packages/fakta-medisinsk-vilk\303\245r/src/ui/components/strukturering-av-dokumentasjon/tests/StruktureringAvDokumentasjon.spec.tsx" @@ -1,6 +1,5 @@ -import { render, waitFor } from '@testing-library/react'; -import React from 'react'; import { httpUtils } from '@fpsak-frontend/utils'; +import { render, waitFor } from '@testing-library/react'; import ContainerContext from '../../../context/ContainerContext'; import StruktureringAvDokumentasjon from '../StruktureringAvDokumentasjon'; diff --git "a/packages/fakta-medisinsk-vilk\303\245r/src/ui/components/vilk\303\245rsvurdering-av-tilsyn-og-pleie/__tests__/Vilk\303\245rsvurderingAvTilsynOgPleie.spec.tsx" "b/packages/fakta-medisinsk-vilk\303\245r/src/ui/components/vilk\303\245rsvurdering-av-tilsyn-og-pleie/__tests__/Vilk\303\245rsvurderingAvTilsynOgPleie.spec.tsx" index 42766b3ca9..6e8814d1db 100644 --- "a/packages/fakta-medisinsk-vilk\303\245r/src/ui/components/vilk\303\245rsvurdering-av-tilsyn-og-pleie/__tests__/Vilk\303\245rsvurderingAvTilsynOgPleie.spec.tsx" +++ "b/packages/fakta-medisinsk-vilk\303\245r/src/ui/components/vilk\303\245rsvurdering-av-tilsyn-og-pleie/__tests__/Vilk\303\245rsvurderingAvTilsynOgPleie.spec.tsx" @@ -1,12 +1,11 @@ /* eslint-disable max-len */ -import React from 'react'; import { httpUtils } from '@fpsak-frontend/utils'; -import { render, fireEvent, waitFor, screen } from '@testing-library/react'; -import VilkårsvurderingAvTilsynOgPleie from '../VilkårsvurderingAvTilsynOgPleie'; +import { fireEvent, render, screen, waitFor } from '@testing-library/react'; +import { dokumentSteg, toOmsorgspersonerSteg } from '../../../../types/Step'; +import Vurderingstype from '../../../../types/Vurderingstype'; import ContainerContext from '../../../context/ContainerContext'; import VurderingContext from '../../../context/VurderingContext'; -import Vurderingstype from '../../../../types/Vurderingstype'; -import { dokumentSteg, toOmsorgspersonerSteg } from '../../../../types/Step'; +import VilkårsvurderingAvTilsynOgPleie from '../VilkårsvurderingAvTilsynOgPleie'; const vurderingsoversiktEndpoint = 'vurderingsoversikt-mock'; const vurderingsopprettelseEndpoint = 'vurderingsopprettelse-mock'; diff --git "a/packages/fakta-medisinsk-vilk\303\245r/src/ui/components/vilk\303\245rsvurdering-av-to-omsorgspersoner/__tests__/Vilk\303\245rsvurderingAvToOmsorgspersoner.spec.tsx" "b/packages/fakta-medisinsk-vilk\303\245r/src/ui/components/vilk\303\245rsvurdering-av-to-omsorgspersoner/__tests__/Vilk\303\245rsvurderingAvToOmsorgspersoner.spec.tsx" index ea3ff8d174..a35974cdce 100644 --- "a/packages/fakta-medisinsk-vilk\303\245r/src/ui/components/vilk\303\245rsvurdering-av-to-omsorgspersoner/__tests__/Vilk\303\245rsvurderingAvToOmsorgspersoner.spec.tsx" +++ "b/packages/fakta-medisinsk-vilk\303\245r/src/ui/components/vilk\303\245rsvurdering-av-to-omsorgspersoner/__tests__/Vilk\303\245rsvurderingAvToOmsorgspersoner.spec.tsx" @@ -1,11 +1,10 @@ -import React from 'react'; import { httpUtils } from '@fpsak-frontend/utils'; -import { render, fireEvent, waitFor, screen } from '@testing-library/react'; -import VilkårsvurderingAvToOmsorgspersoner from '../VilkårsvurderingAvToOmsorgspersoner.js'; +import { fireEvent, render, screen, waitFor } from '@testing-library/react'; +import { dokumentSteg } from '../../../../types/Step'; +import Vurderingstype from '../../../../types/Vurderingstype'; import ContainerContext from '../../../context/ContainerContext'; import VurderingContext from '../../../context/VurderingContext'; -import Vurderingstype from '../../../../types/Vurderingstype'; -import { dokumentSteg } from '../../../../types/Step'; +import VilkårsvurderingAvToOmsorgspersoner from '../VilkårsvurderingAvToOmsorgspersoner.js'; const vurderingsoversiktEndpoint = 'vurderingsoversikt-mock'; const vurderingsopprettelseEndpoint = 'vurderingsopprettelse-mock'; diff --git "a/packages/fakta-medisinsk-vilk\303\245r/src/ui/components/vurderingsdetaljer-fetcher/tests/VurderingsdetaljerFetcher.spec.tsx" "b/packages/fakta-medisinsk-vilk\303\245r/src/ui/components/vurderingsdetaljer-fetcher/tests/VurderingsdetaljerFetcher.spec.tsx" index b943a44a51..c88362ef5f 100644 --- "a/packages/fakta-medisinsk-vilk\303\245r/src/ui/components/vurderingsdetaljer-fetcher/tests/VurderingsdetaljerFetcher.spec.tsx" +++ "b/packages/fakta-medisinsk-vilk\303\245r/src/ui/components/vurderingsdetaljer-fetcher/tests/VurderingsdetaljerFetcher.spec.tsx" @@ -1,6 +1,5 @@ import { httpUtils } from '@fpsak-frontend/utils'; -import { render, waitFor, screen } from '@testing-library/react'; -import React from 'react'; +import { render, screen, waitFor } from '@testing-library/react'; import ContainerContext from '../../../context/ContainerContext'; import VurderingsdetaljerFetcher from '../VurderingsdetaljerFetcher';