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

Commit 8421022

Browse files
authored
Rename all the slow reporter stuff to cjs (#12933)
To hopefully fix tests on develop
1 parent 5b91dd8 commit 8421022

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ if (env["GITHUB_ACTIONS"] !== undefined) {
5353

5454
// if we're running against the develop branch, also enable the slow test reporter
5555
if (env["GITHUB_REF"] == "refs/heads/develop") {
56-
reporters.push("<rootDir>/test/slowReporter.js");
56+
reporters.push("<rootDir>/test/slowReporter.cjs");
5757
}
5858
config.reporters = reporters;
5959
}

test/slowReporter.js renamed to test/slowReporter.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

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

0 commit comments

Comments
 (0)