Skip to content

Fixes unhandled rejections in Windows tests#2452

Merged
philipwalton merged 1 commit intomasterfrom
win-tests
Apr 13, 2020
Merged

Fixes unhandled rejections in Windows tests#2452
philipwalton merged 1 commit intomasterfrom
win-tests

Conversation

@jeffposnick
Copy link
Contributor

R: @philipwalton

I noticed while looking at our CI output that there are some test cases in the Windows suite that should have been failed, but passed because of a missing await:

https://github.com/GoogleChrome/workbox/pull/2451/checks?check_run_id=583425178#step:6:60

This PR adds that await to ensure that an exception in the async sub-function properly fails our main test case. It also fixes the logic so that the Windows tests should pass.

(They were failing because a Windows path separator isn't meant to be used in a globby pattern.)

@jeffposnick
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants