Skip to content

Commit

Permalink
🏷️ Fikser typefeil i test
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbjoern committed Dec 5, 2024
1 parent f2d6709 commit 13f28d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Soknad/SoknadInnsending.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('SoknadInnsending', () => {
);
});
test('Skal rendre komponent for søknad uten ettersendelser', async () => {
render(<SoknadInnsending søknad={mockSøknad} />);
render(<SoknadInnsending søknad={mockSøknad} ettersendelser={[]} />);
await waitFor(() =>
expect(screen.getByRole('heading', { level: 2, name: 'Søknad om arbeidsavklaringspenger (AAP)' })).toBeVisible()
);
Expand Down

0 comments on commit 13f28d2

Please sign in to comment.