1
0
mirror of https://github.com/bitwarden/directory-connector synced 2026-01-17 07:53:19 +00:00

update jest to v.30

This commit is contained in:
Brandon
2026-01-06 14:35:55 -05:00
parent 9241f331f8
commit df0bead5a8
4 changed files with 4469 additions and 769 deletions

View File

@@ -9,7 +9,7 @@ describe("SymmetricCryptoKey", () => {
new SymmetricCryptoKey(null);
};
expect(t).toThrowError("Must provide key");
expect(t).toThrow("Must provide key");
});
describe("guesses encKey from key length", () => {
@@ -63,7 +63,7 @@ describe("SymmetricCryptoKey", () => {
new SymmetricCryptoKey(makeStaticByteArray(30));
};
expect(t).toThrowError("Unable to determine encType.");
expect(t).toThrow("Unable to determine encType.");
});
});
});

5230
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -117,7 +117,7 @@
"html-loader": "5.1.0",
"html-webpack-plugin": "5.6.3",
"husky": "9.1.7",
"jest": "29.7.0",
"jest": "30.0.0",
"jest-junit": "16.0.0",
"jest-mock-extended": "4.0.0",
"jest-preset-angular": "16.0.0",

View File

@@ -1,7 +1,5 @@
import { webcrypto } from "crypto";
import "jest-preset-angular/setup-jest";
Object.defineProperty(window, "CSS", { value: null });
Object.defineProperty(window, "getComputedStyle", {
value: () => {