Caleb Porzio %!s(int64=5) %!d(string=hai) anos
pai
achega
1cfb1ba66a
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      test/on.spec.js

+ 3 - 0
test/on.spec.js

@@ -431,6 +431,9 @@ test('event with colon', async () => {
 })
 
 test.skip('prevent default action when an event returns false', async () => {
+    // This test is skipped because in a browser this works, but it won't
+    // pass in this tests unless we bypass the promise resolving system
+    // for the result of an event handler expression.
     window.confirm = jest.fn().mockReturnValue(false)
 
     document.body.innerHTML = `