Commit f93b9a7b authored by David Burke's avatar David Burke

Remove useless spec

parent 37a8e2a7
......@@ -37,8 +37,8 @@
</div>
</div>
<div class="popup__password-list-header" *ngIf="matchedSecrets.length > 0">All Passwords</div>
<cdk-virtual-scroll-viewport class="viewport" [itemSize]="69">
<div class="popup__password-list-header" *ngIf="matchedSecrets.length > 0">All Passwords</div>
<div *cdkVirtualFor="let secret of secrets" class="item">
<app-popup-item
[secret]="secret"
......
import { HttpClientModule } from "@angular/common/http";
import { async, ComponentFixture, TestBed } from "@angular/core/testing";
import { InlineSVGModule } from "ng-inline-svg";
import { SharedModule } from "../../shared/";
import { PopupItemComponent } from "./popup-item";
import { PopupComponent } from "./popup.component";
describe("PopupComponent", () => {
let component: PopupComponent;
let fixture: ComponentFixture<PopupComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [SharedModule, InlineSVGModule.forRoot(), HttpClientModule],
declarations: [PopupComponent, PopupItemComponent]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(PopupComponent);
component = fixture.componentInstance;
component.secrets = [];
component.matchedSecrets = [];
fixture.detectChanges();
});
it("should create", () => {
expect(component).toBeTruthy();
});
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment