Skip to content

Commit

Permalink
Fix flaky npm preserved indentation spec
Browse files Browse the repository at this point in the history
  • Loading branch information
feelepxyz committed Jul 17, 2020
1 parent 217c517 commit 2e3e46f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 85 deletions.
Expand Up @@ -2504,8 +2504,8 @@

context "with non-standard indentation" do
it "preserves indentation in the package-lock.json" do
expect(updated_npm_lock.content).to eq(
fixture("npm_lockfiles", "package_lock_preserved_indentation.json")
expect(updated_npm_lock.content).to start_with(
fixture("npm_lockfiles", "package_lock_preserved_indentation_partial_lockfile")
)
end
end
Expand Down

This file was deleted.

@@ -0,0 +1,6 @@
{
"name": "{{ name }}",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

0 comments on commit 2e3e46f

Please sign in to comment.