Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Rename all the slow reporter stuff to cjs (#12933)
Browse files Browse the repository at this point in the history
To hopefully fix tests on develop
  • Loading branch information
dbkr authored Aug 27, 2024
1 parent 5b91dd8 commit 8421022
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,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>/test/slowReporter.js");
reporters.push("<rootDir>/test/slowReporter.cjs");
}
config.reporters = reporters;
}
Expand Down
2 changes: 1 addition & 1 deletion test/slowReporter.js → test/slowReporter.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

module.exports = require("matrix-js-sdk/spec/slowReporter");
module.exports = require("matrix-js-sdk/spec/slowReporter.cjs");

0 comments on commit 8421022

Please sign in to comment.