diff --git a/js/tests/test.mjs b/js/tests/test.mjs index 0164263e..5815103b 100644 --- a/js/tests/test.mjs +++ b/js/tests/test.mjs @@ -46,7 +46,7 @@ const { join } = [] const { split } = '' const stackFmt = (err, url) => { if (!(err instanceof Error)) { - throw Error(`Unexpected type thrown: ${typeof err}. usage: throw Error('my message'))`) + throw Error(`Unexpected type thrown: ${typeof err}. usage: throw Error('my message')`) } String.prototype.split = split Array.prototype.join = join