Skip to content

Commit 6819c25

Browse files
committed
fix: remove uninstalled jest-html-reporter from config
Comment out jest-html-reporter configuration since the package is not installed. This fixes the "Could not resolve a module for a custom reporter" error in CI/CD. The reporter can be re-enabled if needed by installing the package and uncommenting the configuration.
1 parent 5df3bfe commit 6819c25

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

jest.config.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,12 @@ module.exports = {
8989

9090
// Reporter configuration
9191
reporters: [
92-
'default',
93-
['jest-html-reporter', {
94-
pageTitle: 'Python Deadlines Frontend Test Report',
95-
outputPath: './coverage/test-report.html'
96-
}]
92+
'default'
93+
// Uncomment if jest-html-reporter is installed:
94+
// ['jest-html-reporter', {
95+
// pageTitle: 'Python Deadlines Frontend Test Report',
96+
// outputPath: './coverage/test-report.html'
97+
// }]
9798
],
9899

99100
// Timeout for tests

0 commit comments

Comments
 (0)