🚨 Prettier
parent
e0a31d84a6
commit
273b416216
|
@ -3,14 +3,12 @@ import { RouterTestingModule } from "@angular/router/testing"
|
||||||
import { AppComponent } from "./app.component"
|
import { AppComponent } from "./app.component"
|
||||||
|
|
||||||
describe("AppComponent", (): void => {
|
describe("AppComponent", (): void => {
|
||||||
beforeEach(
|
beforeEach(waitForAsync((): void => {
|
||||||
waitForAsync((): void => {
|
|
||||||
void TestBed.configureTestingModule({
|
void TestBed.configureTestingModule({
|
||||||
imports: [RouterTestingModule],
|
imports: [RouterTestingModule],
|
||||||
declarations: [AppComponent],
|
declarations: [AppComponent],
|
||||||
}).compileComponents()
|
}).compileComponents()
|
||||||
})
|
}))
|
||||||
)
|
|
||||||
|
|
||||||
it("should create the app", (): void => {
|
it("should create the app", (): void => {
|
||||||
const fixture = TestBed.createComponent(AppComponent)
|
const fixture = TestBed.createComponent(AppComponent)
|
||||||
|
|
|
@ -7,14 +7,12 @@ describe("PagesComponent", (): void => {
|
||||||
let component: PagesComponent
|
let component: PagesComponent
|
||||||
let fixture: ComponentFixture<PagesComponent>
|
let fixture: ComponentFixture<PagesComponent>
|
||||||
|
|
||||||
beforeEach(
|
beforeEach(waitForAsync((): void => {
|
||||||
waitForAsync((): void => {
|
|
||||||
void TestBed.configureTestingModule({
|
void TestBed.configureTestingModule({
|
||||||
imports: [HttpClientTestingModule],
|
imports: [HttpClientTestingModule],
|
||||||
declarations: [PagesComponent],
|
declarations: [PagesComponent],
|
||||||
}).compileComponents()
|
}).compileComponents()
|
||||||
})
|
}))
|
||||||
)
|
|
||||||
|
|
||||||
beforeEach((): void => {
|
beforeEach((): void => {
|
||||||
fixture = TestBed.createComponent(PagesComponent)
|
fixture = TestBed.createComponent(PagesComponent)
|
||||||
|
|
Loading…
Reference in New Issue