Skip to content

Commit

Permalink
Fiks test
Browse files Browse the repository at this point in the history
  • Loading branch information
hallvardastark committed Oct 31, 2024
1 parent edb11ea commit 7729884
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
Original file line number Diff line number Diff line change
@@ -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';

Expand Down

0 comments on commit 7729884

Please sign in to comment.