diff --git a/jest.config.ts b/jest.config.ts index 7293e5b3be91ddf584adf27d927b181df8eb51db..3203fb20251c9962bc0d4ac3ffeb8f5549529e90 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -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; } diff --git a/test/slowReporter.js b/test/slowReporter.cjs similarity index 89% rename from test/slowReporter.js rename to test/slowReporter.cjs index f63f218c36d519d26c2f105bbeff74d5b3efa86b..455b9ba025dd1e01d5d5d87211df0d624576f63e 100644 --- a/test/slowReporter.js +++ b/test/slowReporter.cjs @@ -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");