Skip to content

Commit 0cd0d00

Browse files
committed
fix(igx-ts): clean app.spec and tsconfigs
1 parent 9710fea commit 0cd0d00

9 files changed

Lines changed: 11 additions & 29 deletions

File tree

packages/igx-templates/igx-ts-legacy/projects/_base/files/src/app/app.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
import { TestBed } from '@angular/core/testing';
22
import { RouterModule } from '@angular/router';
33
import { App } from './app';
4-
import { AppModule } from './app-module';
54

65
describe('App', () => {
76
beforeEach(async () => {
87
await TestBed.configureTestingModule({
98
imports: [
10-
RouterModule.forRoot([]),
11-
AppModule
9+
RouterModule.forRoot([])
1210
],
1311
declarations: [
1412
App

packages/igx-templates/igx-ts-legacy/projects/_base/files/tsconfig.app.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,8 @@
66
"outDir": "./out-tsc/app",
77
"types": []
88
},
9-
"files": [
10-
"src/main.ts"
11-
],
129
"include": [
13-
"src/**/*.d.ts"
10+
"src/**/*.ts"
1411
],
1512
"exclude": [
1613
"src/**/*.spec.ts"

packages/igx-templates/igx-ts-legacy/projects/_base/files/tsconfig.spec.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
]
1010
},
1111
"include": [
12-
"src/**/*.spec.ts",
13-
"src/**/*.d.ts"
12+
"src/**/*.d.ts",
13+
"src/**/*.ts"
1414
]
1515
}

packages/igx-templates/igx-ts-legacy/projects/side-nav-auth/files/src/app/app.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
33
import { RouterTestingModule } from '@angular/router/testing';
44
import { IgxLayoutModule, IgxNavbarModule, IgxNavigationDrawerModule, IgxRippleModule } from 'igniteui-angular';
55
import { App } from './app';
6-
import { AppModule } from './app-module';
76
import { AuthenticationModule } from './authentication';
87

98
describe('App', () => {
@@ -16,8 +15,7 @@ describe('App', () => {
1615
AuthenticationModule,
1716
IgxNavbarModule,
1817
IgxLayoutModule,
19-
IgxRippleModule,
20-
AppModule
18+
IgxRippleModule
2119
],
2220
declarations: [
2321
App

packages/igx-templates/igx-ts-legacy/projects/side-nav-auth/files/tsconfig.app.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@
1212
"facebook-js-sdk"
1313
]
1414
},
15-
"files": [
16-
"src/main.ts"
17-
],
1815
"include": [
19-
"src/**/*.d.ts"
16+
"src/**/*.ts"
2017
],
2118
"exclude": [
2219
"src/**/*.spec.ts"

packages/igx-templates/igx-ts-legacy/projects/side-nav-auth/files/tsconfig.spec.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"module": "esnext"
1313
},
1414
"include": [
15-
"src/**/*.spec.ts",
16-
"src/**/*.d.ts"
15+
"src/**/*.d.ts",
16+
"src/**/*.ts"
1717
]
1818
}

packages/igx-templates/igx-ts-legacy/projects/side-nav/files/src/app/app.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { TestBed } from '@angular/core/testing';
22
import { RouterTestingModule } from '@angular/router/testing';
33
import { IgxLayoutModule, IgxNavbarModule, IgxNavigationDrawerModule, IgxRippleModule } from 'igniteui-angular';
44
import { App } from './app';
5-
import { AppModule } from './app-module';
65

76
describe('App', () => {
87
beforeEach(async () => {
@@ -12,8 +11,7 @@ describe('App', () => {
1211
IgxLayoutModule,
1312
IgxNavbarModule,
1413
IgxNavigationDrawerModule,
15-
IgxRippleModule,
16-
AppModule
14+
IgxRippleModule
1715
],
1816
declarations: [
1917
App

packages/igx-templates/igx-ts/projects/_base/files/tsconfig.app.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,8 @@
66
"outDir": "./out-tsc/app",
77
"types": []
88
},
9-
"files": [
10-
"src/main.ts"
11-
],
129
"include": [
13-
"src/**/*.d.ts"
10+
"src/**/*.ts"
1411
],
1512
"exclude": [
1613
"src/**/*.spec.ts"

packages/igx-templates/igx-ts/projects/side-nav-auth/files/tsconfig.app.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@
1212
"facebook-js-sdk"
1313
]
1414
},
15-
"files": [
16-
"src/main.ts"
17-
],
1815
"include": [
19-
"src/**/*.d.ts"
16+
"src/**/*.ts"
2017
],
2118
"exclude": [
2219
"src/**/*.spec.ts"

0 commit comments

Comments
 (0)