From ff518cbc5d746a1bc6e1c4ec05dd0a9bb9fe68d3 Mon Sep 17 00:00:00 2001 From: Piotr Bulawa Date: Thu, 26 Oct 2023 10:54:01 +0200 Subject: [PATCH] SNOW-914688: Update mocha version (#673) --- ci/container/package.json | 2 +- ci/container/test_component.sh | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ci/container/package.json b/ci/container/package.json index 493864f50..d0cfe7667 100644 --- a/ci/container/package.json +++ b/ci/container/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "async": "^3.2.3", - "mocha": "^5.2.0", + "mocha": "^10.2.0", "mock-require": "^3.0.3", "nyc": "^15.1.0", "test-console": "^2.0.0" diff --git a/ci/container/test_component.sh b/ci/container/test_component.sh index d7e0a0f95..28c62832e 100755 --- a/ci/container/test_component.sh +++ b/ci/container/test_component.sh @@ -20,9 +20,9 @@ cd $WORKSPACE if [[ "$LOCAL_USER_NAME" == "jenkins" ]]; then cd target_client - export PATH=$WORKSPACE/target_client/node_modules/mocha/bin:$PATH + export PATH=$WORKSPACE/target_client/node_modules/.bin:$PATH else - export PATH=$WORKSPACE/node_modules/mocha/bin:$PATH + export PATH=$WORKSPACE/node_modules/.bin:$PATH fi cp $SOURCE_ROOT/ci/container/package.json . npm install diff --git a/package.json b/package.json index 35741eba9..747b52c41 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "@aws-sdk/types": "^3.387.0", "async": "^3.2.3", "eslint": "^8.41.0", - "mocha": "^10.1.0", + "mocha": "^10.2.0", "mock-require": "^3.0.3", "nyc": "^15.1.0", "test-console": "^2.0.0"