diff --git a/Libraries/LibJS/Tests/test-common.js b/Libraries/LibJS/Tests/test-common.js index cdc1336539..890862e747 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();