Skip to content

Commit

Permalink
feat(sdk-analytics) test
Browse files Browse the repository at this point in the history
  • Loading branch information
oidacra committed Dec 19, 2024
1 parent a98e606 commit d097815
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion core-web/libs/sdk/analytics/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,28 @@ export default {
]
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
coverageDirectory: '../../../coverage/libs/sdk/analytics'
coverageDirectory: '../../../coverage/libs/sdk/analytics',
testEnvironmentOptions: {
url: 'http://localhost/'
},
maxWorkers: '50%',
verbose: true,
bail: 0,
detectOpenHandles: true,
forceExit: true,
logHeapUsage: true,
reporters: [
'default',
[
'jest-junit',
{
outputDirectory: 'reports/junit',
outputName: 'jest-junit.xml',
classNameTemplate: '{classname}',
titleTemplate: '{title}',
ancestorSeparator: ' › ',
usePathForSuiteName: true
}
]
]
};

0 comments on commit d097815

Please sign in to comment.