mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:58:11 +00:00
LibJS: Remove default parameter from assertThrowsError() for now
We don't support these yet, and it broke all the tests. :^)
This commit is contained in:
parent
364ca1f476
commit
f78a92c5a9
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue