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

To hopefully fix tests on develop
This commit is contained in:
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");