Skip to content

Commit

Permalink
test: fix typo in shrinkwrap.js
Browse files Browse the repository at this point in the history
contructor -> constructor

PR-URL: #2729
Credit: @eltociear
Close: #2729
Reviewed-by: @wraithgar
  • Loading branch information
eltociear authored and nlf committed Feb 22, 2021
1 parent b018eb8 commit 9d81e0c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/lib/shrinkwrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ t.test('no args', t => {
t.deepEqual(
args,
{ ...npm.flatOptions, path: npm.prefix },
'should call arborist contructor with expected args'
'should call arborist constructor with expected args'
)
}

Expand Down Expand Up @@ -102,7 +102,7 @@ t.test('no virtual tree', t => {
t.deepEqual(
args,
{ ...npm.flatOptions, path: npm.prefix },
'should call arborist contructor with expected args'
'should call arborist constructor with expected args'
)
}

Expand Down Expand Up @@ -156,7 +156,7 @@ t.test('existing package-json file', t => {
t.deepEqual(
args,
{ ...npm.flatOptions, path: npm.prefix },
'should call arborist contructor with expected args'
'should call arborist constructor with expected args'
)
}

Expand Down Expand Up @@ -217,7 +217,7 @@ t.test('update shrinkwrap file version', t => {
t.deepEqual(
args,
{ ...npm.flatOptions, path: npm.prefix },
'should call arborist contructor with expected args'
'should call arborist constructor with expected args'
)
}

Expand Down Expand Up @@ -270,7 +270,7 @@ t.test('update to date shrinkwrap file', t => {
t.deepEqual(
args,
{ ...npm.flatOptions, path: npm.prefix },
'should call arborist contructor with expected args'
'should call arborist constructor with expected args'
)
}

Expand Down

0 comments on commit 9d81e0c

Please sign in to comment.