1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 22:33:35 +00:00

create team owned libs for billing, admin-console, platform (#7233)

* add admin-console lib files

* add billing lib files

* add platform lib files

* update lib references in config files

* update package-lock
This commit is contained in:
Will Martin
2023-12-15 09:02:21 -05:00
committed by GitHub
parent 4644392d5c
commit b73d73b508
34 changed files with 306 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
import { webcrypto } from "crypto";
import "jest-preset-angular/setup-jest";
Object.defineProperty(window, "CSS", { value: null });
Object.defineProperty(window, "getComputedStyle", {
value: () => {
return {
display: "none",
appearance: ["-webkit-appearance"],
};
},
});
Object.defineProperty(document, "doctype", {
value: "<!DOCTYPE html>",
});
Object.defineProperty(document.body.style, "transform", {
value: () => {
return {
enumerable: true,
configurable: true,
};
},
});
Object.defineProperty(window, "crypto", {
value: webcrypto,
});