Skip to content

Commit

Permalink
fix: enforce jsdom in generated app test
Browse files Browse the repository at this point in the history
  • Loading branch information
kpanot committed Nov 29, 2024
1 parent 78718fe commit a78cfa2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ ignore:
- 'packages/@o3r-training/showcase-sdk/src/spec/**/*'
- 'tools/github-actions/*/packaged-action/**/*'

# Templating files
- '**/*.tpl'
- '**/templates/**/*.{ts,js,cjs,mjs}'


comment:
layout: "condensed_header, condensed_files, condensed_footer"
behavior: default
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ module.exports.getJestProjectConfig = (rootDir, isAngularSetup) => {
moduleNameMapper['^@o3r/testing/core$'] = [require.resolve('@o3r/testing/core/angular')];
moduleNameMapper['^@o3r/testing/core/(.*)'] = [join(require.resolve('@o3r/testing/core/angular'), '$1')];
return {
testEnvironment: 'jsdom',
preset: 'ts-jest',
setupFilesAfterEnv: ['<rootDir>/testing/setup-jest.ts'],
rootDir,
Expand Down

0 comments on commit a78cfa2

Please sign in to comment.