Skip to content

Commit 53772cc

Browse files
fix dep2
1 parent 583e6a3 commit 53772cc

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
"test-deno": "deno run --allow-env --allow-read --allow-net --allow-run --allow-sys --allow-write ./test/deno.js",
105105
"test-rs": "START_REPLICA_SET=1 mocha --timeout 30000 --exit ./test/*.test.js",
106106
"test-tsd": "node ./test/types/check-types-filename && tsd",
107-
"test-encryption": "bash scripts/configure-cluster-with-encryption.sh && mocha --exit ./test/encryption/*.test.js",
107+
"test-encryption": "bash scripts/configure-cluster-with-encryption.sh && mocha --exit ./test/encryption/*.test.js && npm uninstall mongodb-client-encryption > /dev/null",
108108
"tdd": "mocha ./test/*.test.js --inspect --watch --recursive --watch-files ./**/*.{js,ts}",
109109
"test-coverage": "nyc --reporter=html --reporter=text npm test",
110110
"ts-benchmark": "cd ./benchmarks/typescript/simple && npm install && npm run benchmark | node ../../../scripts/tsc-diagnostics-check"

scripts/configure-cluster-with-encryption.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66

77
export CWD=$(pwd);
88

9+
# install encryption dependency
10+
npm install mongodb-client-encryption > /dev/null
11+
912
# set up mongodb cluster and encryption configuration if the data/ folder does not exist
1013
if [ ! -d "data" ]; then
11-
# install encryption dependency
12-
npm install mongodb-client-encryption > /dev/null
1314

1415
mkdir data
1516
cd data
@@ -48,4 +49,6 @@ if [ ! -d "data" ]; then
4849
(bash $DRIVERS_TOOLS/.evergreen/run-orchestration.sh) 1> /dev/null 2> /dev/null
4950

5051
echo 'Cluster Configuration Finished!'
52+
53+
cd ..
5154
fi

0 commit comments

Comments
 (0)