Last change
on this file since f554983 was 785b8bd, checked in by Mile Jankuloski <mile.jankuloski@…>, 4 years ago |
Dashboards v0.1
|
-
Property mode
set to
100644
|
File size:
621 bytes
|
Rev | Line | |
---|
[785b8bd] | 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
---|
| 2 |
|
---|
| 3 | import { AdminComponent } from './admin.component';
|
---|
| 4 |
|
---|
| 5 | describe('AdminComponent', () => {
|
---|
| 6 | let component: AdminComponent;
|
---|
| 7 | let fixture: ComponentFixture<AdminComponent>;
|
---|
| 8 |
|
---|
| 9 | beforeEach(async(() => {
|
---|
| 10 | TestBed.configureTestingModule({
|
---|
| 11 | declarations: [ AdminComponent ]
|
---|
| 12 | })
|
---|
| 13 | .compileComponents();
|
---|
| 14 | }));
|
---|
| 15 |
|
---|
| 16 | beforeEach(() => {
|
---|
| 17 | fixture = TestBed.createComponent(AdminComponent);
|
---|
| 18 | component = fixture.componentInstance;
|
---|
| 19 | fixture.detectChanges();
|
---|
| 20 | });
|
---|
| 21 |
|
---|
| 22 | it('should create', () => {
|
---|
| 23 | expect(component).toBeTruthy();
|
---|
| 24 | });
|
---|
| 25 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.