From cefc3315e82fb70458649a4061e50c9d0279816f Mon Sep 17 00:00:00 2001 From: Daniel Mil <84205762+mildaniel@users.noreply.github.com> Date: Fri, 13 Jan 2023 16:04:07 -0800 Subject: [PATCH] fix: Fix failing esbuild integration tests (#423) * fix: Fix failing esbuild integration tests * Replace npm ci with npm install --- .../nodejs_npm_esbuild/test_nodejs_npm_with_esbuild.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/integration/workflows/nodejs_npm_esbuild/test_nodejs_npm_with_esbuild.py b/tests/integration/workflows/nodejs_npm_esbuild/test_nodejs_npm_with_esbuild.py index 39e3e7a6a..b6b7e5dca 100644 --- a/tests/integration/workflows/nodejs_npm_esbuild/test_nodejs_npm_with_esbuild.py +++ b/tests/integration/workflows/nodejs_npm_esbuild/test_nodejs_npm_with_esbuild.py @@ -32,7 +32,7 @@ def setUp(self): def _set_esbuild_binary_path(self): npm = SubprocessNpm(self.osutils) esbuild_dir = os.path.join(self.TEST_DATA_FOLDER, "esbuild-binary") - npm.run(["ci"], cwd=esbuild_dir) + npm.run(["install"], cwd=esbuild_dir) self.root_path = npm.run(["root"], cwd=esbuild_dir) self.binpath = Path(self.root_path, ".bin") @@ -169,7 +169,7 @@ def test_bundles_project_without_dependencies(self, runtime): osutils = OSUtils() npm = SubprocessNpm(osutils) esbuild_dir = os.path.join(self.TEST_DATA_FOLDER, "esbuild-binary") - npm.run(["ci"], cwd=esbuild_dir) + npm.run(["install"], cwd=esbuild_dir) binpath = Path(npm.run(["root"], cwd=esbuild_dir), ".bin") self.builder.build( @@ -195,7 +195,7 @@ def test_builds_project_with_remote_dependencies_without_download_dependencies_w osutils = OSUtils() npm = SubprocessNpm(osutils) esbuild_dir = os.path.join(self.TEST_DATA_FOLDER, "esbuild-binary") - npm.run(["ci"], cwd=esbuild_dir) + npm.run(["install"], cwd=esbuild_dir) binpath = Path(npm.run(["root"], cwd=esbuild_dir), ".bin") self.builder.build(