From 9d81e0ceba7d69e0651662508415ee3705bddfd9 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Fri, 19 Feb 2021 16:36:10 +0900 Subject: [PATCH] test: fix typo in shrinkwrap.js contructor -> constructor PR-URL: https://github.com/npm/cli/pull/2729 Credit: @eltociear Close: #2729 Reviewed-by: @wraithgar --- test/lib/shrinkwrap.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/lib/shrinkwrap.js b/test/lib/shrinkwrap.js index ed8fd329c56e7..51fd7931a1b26 100644 --- a/test/lib/shrinkwrap.js +++ b/test/lib/shrinkwrap.js @@ -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' ) } @@ -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' ) } @@ -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' ) } @@ -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' ) } @@ -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' ) }