diff --git a/Libraries/LibJS/Tests/test-common.js b/Libraries/LibJS/Tests/test-common.js index cdc13365392..890862e7474 100644 --- a/Libraries/LibJS/Tests/test-common.js +++ b/Libraries/LibJS/Tests/test-common.js @@ -36,7 +36,7 @@ function assertNotReached() { * @param {string} [options.name] Expected error name * @param {string} [options.message] Expected error message */ -function assertThrowsError(testFunction, options = {}) { +function assertThrowsError(testFunction, options) { try { testFunction(); assertNotReached();