blob: d3120a28334cbd6baa86b2be1501d1d0e92ccebb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { configureTestBed } from '~/testing/unit-test-helper';
import { BackButtonComponent } from './back-button.component';
describe('BackButtonComponent', () => {
let component: BackButtonComponent;
let fixture: ComponentFixture<BackButtonComponent>;
configureTestBed({
imports: [RouterTestingModule],
declarations: [BackButtonComponent]
});
beforeEach(() => {
fixture = TestBed.createComponent(BackButtonComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
|