unit test
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
"start:remote": "ng serve --configuration remote",
|
"start:remote": "ng serve --configuration remote",
|
||||||
"build": "ng build",
|
"build": "ng build",
|
||||||
"watch": "ng build --watch --configuration development",
|
"watch": "ng build --watch --configuration development",
|
||||||
"test": "jest",
|
"test": "ng test",
|
||||||
"test:recent": "jest --onlyChanged",
|
"test:recent": "jest --onlyChanged",
|
||||||
"test:watch": "jest --watch --onlyChanged"
|
"test:watch": "jest --watch --onlyChanged"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,23 +0,0 @@
|
|||||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
||||||
|
|
||||||
import { DeleteKeyFromArchiveComponent } from './delete-key-from-archive.component';
|
|
||||||
|
|
||||||
describe('DeleteKeyFromArchiveComponent', () => {
|
|
||||||
let component: DeleteKeyFromArchiveComponent;
|
|
||||||
let fixture: ComponentFixture<DeleteKeyFromArchiveComponent>;
|
|
||||||
|
|
||||||
beforeEach(async () => {
|
|
||||||
await TestBed.configureTestingModule({
|
|
||||||
imports: [DeleteKeyFromArchiveComponent]
|
|
||||||
})
|
|
||||||
.compileComponents();
|
|
||||||
|
|
||||||
fixture = TestBed.createComponent(DeleteKeyFromArchiveComponent);
|
|
||||||
component = fixture.componentInstance;
|
|
||||||
fixture.detectChanges();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should create', () => {
|
|
||||||
expect(component).toBeTruthy();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
Reference in New Issue
Block a user