-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Errors when running tests locally #10582
Comments
Thanks @umaar we'd welcome your contributions! :) re: unit failure what's the first i18n failure? they're probably related to the re: typecheck failure I experience this on a lot of typescript projects for unknown reasons, clearing node_modules is exactly what I do to fix it too 🤷 re: test-clients failure it looks like it couldn't even create the puppeteer page at all, do you have re: test-docs failure expected and covered in the readme
|
That's a
we upgraded to typescript@3.8.3 from 3.5.3 in #10461, so I'd guess getting the updated dep was the issue.
:/ maybe this should at least check for |
Thanks both, appreciate the help.
|
I've gotten errors on i18n items like that before.
Ive been getting this one as well for several weeks. I, too, have node 13 installed. ...okay, did some testing.. i had thought it may be that 13 was using small-icu and we previously had full-icu.. but i don't think that anymore. now it just seems that the CLDR data for thousands separator for spanish... CHANGED. also.. spotchecking a few other locales that do number formatting different from huh. so who knows why spanish was showing unique formatting in node 12 even if it says its an unsupported locale. WEIRD this points to the Intl.js polyfill just being straight up wrong. I tested out https://www.npmjs.com/package/@formatjs/intl-unified-numberformat briefly and it gives the correct results in 'es' for node 13 (after loading in the locale data). tbh adopting that right now seems kinda dumb. i think we may just want to disable this test until we retire support for node 12. |
I believe most of these have been fixed or are unfortunate flakes. We should fix the flakes, but sometimes it's difficult to figure out a root cause (sometimes you really just need to Thanks for this issue @umaar! Feel free to file new lists of annoyances for us to fix :) |
Hey I'd like to get Lighthouse tests passing locally so I can make changes and be confident I've not broken anything, but getting a few errors whereas the Travis build seems to be passing. Wondering if I'm missing something?
yarn && yarn build-all
✅️yarn bundlesize
✅️yarn diff:sample-json
✅️yarn lint
✅️yarn unit
❗️yarn type-check
✅️yarn smoke
✅️yarn test-clients
❗️yarn test-viewer
✅️yarn test-lantern
✅️yarn test-legacy-javascript
✅️yarn test-bundle
✅️yarn i18n:checks
✅️yarn dogfood-lhci
✅️yarn test-docs
✅️Update:
brew install jq
fixed thisEnvironment Information
The text was updated successfully, but these errors were encountered: