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