mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 22:33:35 +00:00
fix: broken password input toggle tests
This commit is contained in:
@@ -38,7 +38,14 @@ describe("PasswordInputToggle", () => {
|
|||||||
await TestBed.configureTestingModule({
|
await TestBed.configureTestingModule({
|
||||||
imports: [FormFieldModule, IconButtonModule, InputModule],
|
imports: [FormFieldModule, IconButtonModule, InputModule],
|
||||||
declarations: [TestFormFieldComponent],
|
declarations: [TestFormFieldComponent],
|
||||||
providers: [{ provide: I18nService, useValue: new I18nMockService({}) }],
|
providers: [
|
||||||
|
{
|
||||||
|
provide: I18nService,
|
||||||
|
useValue: new I18nMockService({
|
||||||
|
toggleVisibility: "Toggle visibility",
|
||||||
|
}),
|
||||||
|
},
|
||||||
|
],
|
||||||
}).compileComponents();
|
}).compileComponents();
|
||||||
|
|
||||||
fixture = TestBed.createComponent(TestFormFieldComponent);
|
fixture = TestBed.createComponent(TestFormFieldComponent);
|
||||||
|
|||||||
Reference in New Issue
Block a user