mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
[PM-18599] Forbid unknown property and element in tests (#13556)
Fail tests when relying on unknownProperties or unknownElements. Existing instances are whitelist and have tickets created and assigned to the relevant teams.
This commit is contained in:
@@ -51,6 +51,8 @@ describe("SendListFiltersComponent", () => {
|
||||
{ provide: BillingAccountProfileStateService, useValue: billingAccountProfileStateService },
|
||||
{ provide: AccountService, useValue: accountService },
|
||||
],
|
||||
// FIXME(PM-18598): Replace unknownElements and unknownProperties with actual imports
|
||||
errorOnUnknownProperties: false,
|
||||
}).compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(SendListFiltersComponent);
|
||||
|
||||
@@ -1 +1 @@
|
||||
import "jest-preset-angular/setup-jest";
|
||||
import "@bitwarden/ui-common/setup-jest";
|
||||
|
||||
Reference in New Issue
Block a user