diff --git a/test/unit-tests/runtime.ts b/test/unit-tests/runtime.ts index 4b13eef..1e42820 100644 --- a/test/unit-tests/runtime.ts +++ b/test/unit-tests/runtime.ts @@ -143,7 +143,7 @@ async function runUnitTests () { for (let testName of Object.keys(unitTests)) { test = unitTests[testName]; - testName = testName.replace(/([A-Z]+)/u, ' $1').toLowerCase(); + testName = testName.replace(/([A-Z]+)/gu, ' $1').toLowerCase(); if (typeof test === 'function') {