Skip to content

Commit

Permalink
Rename slowReporter to reflect that it is CommonJS
Browse files Browse the repository at this point in the history
Fix tests failing as a result of
#4355. This wasn't detected in
CI because the slowReporter is only enabled when building against develop.
  • Loading branch information
richvdh committed Aug 20, 2024
1 parent b8e8b14 commit 28fd3d9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ if (env["GITHUB_ACTIONS"] !== undefined) {

// if we're running against the develop branch, also enable the slow test reporter
if (env["GITHUB_REF"] == "refs/heads/develop") {
reporters.push("<rootDir>/spec/slowReporter.js");
reporters.push("<rootDir>/spec/slowReporter.cjs");
}
config.reporters = reporters;
}
Expand Down
File renamed without changes.

0 comments on commit 28fd3d9

Please sign in to comment.