Skip to content

Commit

Permalink
fix flaky test that fails when new versions are released (dependabot#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jakecoffman authored Jul 18, 2023
1 parent 23de1c7 commit 5536a0d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 111 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1416,9 +1416,8 @@

context "with non-standard indentation" do
it "preserves indentation in the package-lock.json" do
expect(updated_npm_lock.content).to eq(
fixture("updated_projects", "npm6", "simple", "package-lock.json")
)
# Ensure lines start with { or } or tabs. The actual content of the update isn't under test here.
expect(updated_npm_lock.content.split("\n")).to all(match(/^{|}|\t+["}]/))
end
end

Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 5536a0d

Please sign in to comment.