mirror of
https://github.com/bitwarden/browser
synced 2026-01-03 17:13:47 +00:00
Uif/export switch (#17234)
* fix private variables used in template * remove module * fix test import
This commit is contained in:
@@ -6,7 +6,6 @@ import { By } from "@angular/platform-browser";
|
||||
import { BitLabel } from "../form-control/label.component";
|
||||
|
||||
import { SwitchComponent } from "./switch.component";
|
||||
import { SwitchModule } from "./switch.module";
|
||||
|
||||
describe("SwitchComponent", () => {
|
||||
let fixture: ComponentFixture<TestHostComponent>;
|
||||
@@ -17,7 +16,7 @@ describe("SwitchComponent", () => {
|
||||
// eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection
|
||||
@Component({
|
||||
selector: "test-host",
|
||||
imports: [FormsModule, BitLabel, ReactiveFormsModule, SwitchModule],
|
||||
imports: [FormsModule, BitLabel, ReactiveFormsModule, SwitchComponent],
|
||||
template: `
|
||||
<form [formGroup]="formObj">
|
||||
<bit-switch formControlName="switch">
|
||||
|
||||
Reference in New Issue
Block a user