Updated to eslint 9

This isn't officially compatible with the oldest version of Node that
Jasmine supports, but it works. If it stops working, we can always disable
linting in CI builds on older Node versions.
This commit is contained in:
Steve Gravrock
2025-04-07 21:08:29 -07:00
parent 7b2ab822c6
commit 5ff7e7f9a1
20 changed files with 80 additions and 36 deletions

View File

@@ -22,6 +22,7 @@ getJasmineRequireObj().QueueRunner = function(j$) {
}
function fallbackOnMultipleDone() {
// eslint-disable-next-line no-console
console.error(
new Error(
"An asynchronous function called its 'done' " +
@@ -135,6 +136,7 @@ getJasmineRequireObj().QueueRunner = function(j$) {
// Any error we catch here is probably due to a bug in Jasmine,
// and it's not likely to end up anywhere useful if we let it
// propagate. Log it so it can at least show up when debugging.
// eslint-disable-next-line no-console
console.error(error);
}
}