1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

Browser - Add jest-preset-angular (#9412)

* add "jest-preset-angular/setup-jest" to browser app

* use flushPromises rather than await a dummy promise

* move the import of `page-script` into beforeAll rather than the describe scope

* invoke the sendMessage callback rather than relying on a promise comparison
This commit is contained in:
Nick Krantz
2024-05-31 13:21:45 -05:00
committed by GitHub
parent fb577a448e
commit 00c305dff3
4 changed files with 26 additions and 7 deletions

View File

@@ -1,3 +1,5 @@
import "jest-preset-angular/setup-jest";
// Add chrome storage api
const QUOTA_BYTES = 10;
const storage = {