From 62704d39d91847bab1462753d4467ba140315885 Mon Sep 17 00:00:00 2001 From: Neal Beeken Date: Tue, 25 Jul 2023 14:07:22 -0400 Subject: [PATCH] chore: pin check:dependencies mongodb-client-encryption test to install alpha --- test/action/dependency.test.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/action/dependency.test.ts b/test/action/dependency.test.ts index c04a3f8cbc7..1fc8a1110fb 100644 --- a/test/action/dependency.test.ts +++ b/test/action/dependency.test.ts @@ -83,7 +83,11 @@ describe('package.json', function () { }); context(`when ${depName} is installed`, () => { - beforeEach(async () => { + beforeEach(async function () { + if (depName === 'mongodb-client-encryption') { + execSync(`npm install --no-save "${depName}"@alpha`); + return; + } execSync(`npm install --no-save "${depName}"@"${depMajor}"`); });