-
Notifications
You must be signed in to change notification settings - Fork 4
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
Assess test coverage of javascript code/packs [13,13,1] #2380
Comments
Outcomes could be: run a coverage tool, get some numbers, identify gaps. Do a pairing session with other dev so we both have some sense of what's going on in this area. |
Documenting some simple/obvious things that took me on quite a ride yesterday! 🎢
https://docs.npmjs.com/cli/ci But
https://classic.yarnpkg.com/en/docs/yarn-lock Anywho, from what I'm seeing we either want to use |
I agree we should pick one. I believe CI uses yarn so the easiest change is to use that. |
I upgraded @vue/test-utils to version `v1.0.0-beta.31`. We were previously on `v1.0.0-beta25`, here's the changelog: - https://github.com/vuejs/vue-test-utils/releases This upgrade broke a bunch of tests; our tests had to refactored to run asynchronously, here are some links regarding that: - vuejs/vue-test-utils#1137 - https://vue-test-utils.vuejs.org/guides/#writing-asynchronous-tests-using-nexttick-new Refs: #2380
I upgraded @vue/test-utils to the latest version, `v1.0.0-beta.31`. We were previously on `v1.0.0-beta25`, here's the changelog: - https://github.com/vuejs/vue-test-utils/releases This upgrade broke a bunch of tests; our tests had to refactored to run asynchronously, here are some links regarding that: - vuejs/vue-test-utils#1137 - https://vue-test-utils.vuejs.org/guides/#writing-asynchronous-tests-using-nexttick-new Refs: #2380
I upgraded @vue/test-utils to the latest version, `v1.0.0-beta.31`. We were previously on `v1.0.0-beta25`, here's the changelog: - https://github.com/vuejs/vue-test-utils/releases This upgrade broke a bunch of tests; our tests had to refactored to run asynchronously, here are some links regarding that: - vuejs/vue-test-utils#1137 - https://vue-test-utils.vuejs.org/guides/#writing-asynchronous-tests-using-nexttick-new Refs: #2380
Using both `package-lock.json` and `yarn-lock.json` can cause confusion and lead to potential issues, so we'll just use one, `yarn-lock.json`. :smiley: Refs: #2380
Using both `package-lock.json` and `yarn-lock.json` can cause confusion and lead to potential issues, so we'll just use one, `yarn-lock.json`. :smiley: Refs: #2380
I ran `yarn update` to get the latest versions our packages, as specified in `package.json`. Refs: #2380
Using both `package-lock.json` and `yarn-lock.json` can cause confusion and lead to potential issues, so we'll just use one, `yarn-lock.json`. :smile: Refs: #2380
Cool, I removed Fwiw, after getting into the weeds on this, I think it would better to use npm for two (pretty much trivial) reasons: it make's the project more accessible/easier for someone to contribute, and removes a dependency. But since we're the only ones who contribute, and CircleCI is already setup to use yarn, then I think it makes sense to just keep it as-is, using yarn. 👍 😀 |
Looks like rails/webpacker has yarn as a prereq, so that may be the reason for the choice here. |
* Update @vue/test-utils I upgraded @vue/test-utils to the latest version, `v1.0.0-beta.31`. We were previously on `v1.0.0-beta25`, here's the changelog: - https://github.com/vuejs/vue-test-utils/releases This upgrade broke a bunch of tests; our tests had to refactored to run asynchronously, here are some links regarding that: - vuejs/vue-test-utils#1137 - https://vue-test-utils.vuejs.org/guides/#writing-asynchronous-tests-using-nexttick-new Refs: #2380 * Remove package-lock.json Using both `package-lock.json` and `yarn-lock.json` can cause confusion and lead to potential issues, so we'll just use one, `yarn-lock.json`. :smile: Refs: #2380
This one is on staging, but there is no front-end piece to this one, so I don't think any manual QAing is necessary. 😃 The CI build is passing, fyi. 👍 |
Yeah, makes sense to me. |
From #2166 and following on #2363, we need to check our test coverage on the javascript getting built into packs before upgrading webpack. If it's good, that'll help during an upgrade. If it's not good, we would need to increase coverage before attempting the upgrade.
QA Steps
This one is on staging, but there is no front-end piece to this one, so I don't think any manual QAing is necessary. 😃
The text was updated successfully, but these errors were encountered: