forked from blove/advanced-rxjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: update to v10 * chore: update material * chore: update jest * chore: specify lts node of 12.13.0 in .nvmrc * chore: prettier config
- Loading branch information
Showing
11 changed files
with
7,113 additions
and
6,884 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
12.13.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
module.exports = { | ||
printWidth: 100, | ||
tabWidth: 2, | ||
useTabs: false, | ||
semi: true, | ||
singleQuote: true, | ||
trailingComma: 'none', | ||
bracketSpacing: true, | ||
jsxBracketSameLine: false, | ||
arrowParens: 'avoid', | ||
rangeStart: 0, | ||
rangeEnd: Infinity, | ||
requirePragma: false, | ||
insertPragma: false, | ||
proseWrap: 'preserve' | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,29 @@ | ||
import { ComponentFixture, TestBed, async } from '@angular/core/testing'; | ||
import { RouterTestingModule } from '@angular/router/testing'; | ||
import { ComponentFixture, TestBed, waitForAsync } from "@angular/core/testing"; | ||
import { RouterTestingModule } from "@angular/router/testing"; | ||
|
||
import { MaterialModule } from '../../../material'; | ||
import { ShellComponent } from './shell.component'; | ||
import { MaterialModule } from "../../../material"; | ||
import { ShellComponent } from "./shell.component"; | ||
|
||
describe('ShellComponent', () => { | ||
describe("ShellComponent", () => { | ||
let component: ShellComponent; | ||
let fixture: ComponentFixture<ShellComponent>; | ||
|
||
beforeEach(async(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [ShellComponent], | ||
imports: [MaterialModule, RouterTestingModule], | ||
}).compileComponents(); | ||
})); | ||
beforeEach( | ||
waitForAsync(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [ShellComponent], | ||
imports: [MaterialModule, RouterTestingModule] | ||
}).compileComponents(); | ||
}) | ||
); | ||
|
||
beforeEach(() => { | ||
fixture = TestBed.createComponent(ShellComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
it("should create", () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
19 changes: 10 additions & 9 deletions
19
src/app/features/home/components/index/index.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | ||
import { ComponentFixture, TestBed, waitForAsync } from "@angular/core/testing"; | ||
|
||
import { IndexComponent } from './index.component'; | ||
import { IndexComponent } from "./index.component"; | ||
|
||
describe('IndexComponent', () => { | ||
describe("IndexComponent", () => { | ||
let component: IndexComponent; | ||
let fixture: ComponentFixture<IndexComponent>; | ||
|
||
beforeEach(async(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [ IndexComponent ] | ||
beforeEach( | ||
waitForAsync(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [IndexComponent] | ||
}).compileComponents(); | ||
}) | ||
.compileComponents(); | ||
})); | ||
); | ||
|
||
beforeEach(() => { | ||
fixture = TestBed.createComponent(IndexComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
it("should create", () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters