Skip to content

Commit

Permalink
Lagt til cypress komponentTest for AppError i forbindelse med 'Failed…
Browse files Browse the repository at this point in the history
… to fetch dynamically imported module'

#deploy-test-frontend
  • Loading branch information
stigus committed Feb 26, 2024
1 parent f034424 commit 49bed97
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 23 deletions.
46 changes: 23 additions & 23 deletions apps/dolly-frontend/src/main/js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,14 @@ describe('<AppError />', () => {
)
})
})

describe('<AppError />', () => {
it('renders', () => {
cy.mount(
<AppError
error={'Failed to fetch dynamically imported module'}
stackTrace={'Dynamic import feilet'}
/>,
)
})
})

0 comments on commit 49bed97

Please sign in to comment.