Skip to content

Commit d4e3dc6

Browse files
committed
fix test & lint for angular-v8
1 parent 2ba227f commit d4e3dc6

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

examples/demo-lib-v8/src/bit-test.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
import { ComponentFixture, TestBed } from '@angular/core/testing';
22

33
import { BitTestComponent } from './bit-test.component';
4+
import { BitTestService } from './bit-test.service';
45

56
describe('BitTestComponent', () => {
67
let component: BitTestComponent;
78
let fixture: ComponentFixture<BitTestComponent>;
89

910
beforeEach(async () => {
1011
await TestBed.configureTestingModule({
12+
providers: [ BitTestService ],
1113
declarations: [ BitTestComponent ]
1214
})
1315
.compileComponents();

packages/angular/jest/tsconfig.spec.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"importHelpers": true,
1818
"allowJs": true,
1919
"target": "es2015",
20-
"module": "es2020",
20+
"module": "esnext",
2121
"lib": [
2222
"es2018",
2323
"dom"

packages/eslint-config/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"moduleResolution": "node",
1414
"importHelpers": true,
1515
"target": "es2015",
16-
"module": "es2020",
16+
"module": "esnext",
1717
"lib": [
1818
"es2018",
1919
"dom"

0 commit comments

Comments
 (0)