Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix flakey tests #77

Open
niemyjski opened this issue Apr 8, 2020 · 0 comments
Open

Fix flakey tests #77

niemyjski opened this issue Apr 8, 2020 · 0 comments

Comments

@niemyjski
Copy link
Collaborator

There are five flakey tests that have to do with ensuring the window.onerror is called and works properly. This needs to be mocked or figure out why the test occasionally hangs.

      - should pass undefined:undefined...
log: window.onerror(undefined, undefined, 1337, undefined)

log: matches test message and line number
       X should pass undefined:undefined
         Error: Timeout - Async function did not complete within 5000ms (set by jasmine.DEFAULT_TIMEOUT_INTERVAL) (1)
>> Error: Timeout - Async function did not complete within 5000ms (set by jasmine.DEFAULT_TIMEOUT_INTERVAL) Error: Timeout - Async function did not complete within 5000ms (set by jasmine.DEFAULT_TIMEOUT_INTERVAL)
>>     at <Jasmine>
     when no 5th argument (error object)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant