Skip to content

Commit def66e9

Browse files
committed
ignore typescript eslint error
1 parent 1539e5e commit def66e9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ describe('remoteForm', function () {
9898
event.preventDefault()
9999
}
100100
const originalMochaError = window.onerror
101-
window.onerror = function() {}
101+
// eslint-disable-next-line @typescript-eslint/no-empty-function
102+
window.onerror = function () {}
102103
window.addEventListener('error', errorHandler)
103104

104105
document.querySelector('button[type=submit]').click()

0 commit comments

Comments
 (0)