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 flaky npm 6 peer dependency test #3229

Merged
merged 1 commit into from
Mar 4, 2021
Merged

Conversation

feelepxyz
Copy link
Contributor

It looks like this spec has become flaky recently, not clear why but
seems to have fixed it by making the expectation compare the dependency
hash instead of the instance.

Also removed the alias on npm6 as we no longer install npm7 as a npm package.

It looks like this spec has become flaky recently, not clear why but
seems to have fixed it by making the expectation compare the dependency
hash instead of the instance.

Also removed the alias on `npm6` as we no longer install npm7 as a npm package.
@feelepxyz feelepxyz requested a review from a team as a code owner March 4, 2021 13:17
@@ -1319,48 +1319,49 @@
let(:latest_allowable_version) { Gem::Version.new("16.3.1") }

it "gets the right list of dependencies to update" do
expect(resolver.dependency_updates_from_full_unlock).
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@jasonrudolph jasonrudolph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix! This does indeed seem like it will be more deterministic. ⚡

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