Rename all the slow reporter stuff to cjs (#12933)

To hopefully fix tests on develop
pull/28192/head
David Baker 2024-08-27 15:46:50 +01:00 committed by GitHub
parent 5b91dd88e1
commit 8421022841
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ if (env["GITHUB_ACTIONS"] !== undefined) {
// if we're running against the develop branch, also enable the slow test reporter // if we're running against the develop branch, also enable the slow test reporter
if (env["GITHUB_REF"] == "refs/heads/develop") { if (env["GITHUB_REF"] == "refs/heads/develop") {
reporters.push("<rootDir>/test/slowReporter.js"); reporters.push("<rootDir>/test/slowReporter.cjs");
} }
config.reporters = reporters; config.reporters = reporters;
} }

View File

@ -14,4 +14,4 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
module.exports = require("matrix-js-sdk/spec/slowReporter"); module.exports = require("matrix-js-sdk/spec/slowReporter.cjs");