Skip to content

Commit aeee68c

Browse files
authored
chore: pin dependencies check mongodb-client-encryption test to install alpha (#3785)
1 parent 3525597 commit aeee68c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/action/dependency.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,11 @@ describe('package.json', function () {
8383
});
8484

8585
context(`when ${depName} is installed`, () => {
86-
beforeEach(async () => {
86+
beforeEach(async function () {
87+
if (depName === 'mongodb-client-encryption') {
88+
execSync(`npm install --no-save "${depName}"@alpha`);
89+
return;
90+
}
8791
execSync(`npm install --no-save "${depName}"@"${depMajor}"`);
8892
});
8993

0 commit comments

Comments
 (0)