Skip to content

Commit 5f3f6ef

Browse files
committed
fix(igx-ts): update templates
1 parent 511d95d commit 5f3f6ef

4 files changed

Lines changed: 15 additions & 19 deletions

File tree

packages/igx-templates/igx-ts/projects/_base/files/angular.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@
2626
"tsConfig": "tsconfig.app.json",
2727
"inlineStyleLanguage": "scss",
2828
"assets": [
29-
{
30-
"glob": "**/*",
31-
"input": "public"
32-
}
29+
"src/favicon.ico",
30+
"src/assets"
3331
],
3432
"styles": [
3533
"src/styles.scss"<%=DefaultTheme%>
@@ -101,10 +99,8 @@
10199
"tsConfig": "tsconfig.spec.json",
102100
"inlineStyleLanguage": "scss",
103101
"assets": [
104-
{
105-
"glob": "**/*",
106-
"input": "public"
107-
}
102+
"src/favicon.ico",
103+
"src/assets"
108104
],
109105
"styles": [
110106
"src/styles.scss"

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ import {
66
IgxLayoutModule, IgxNavbarModule, IgxNavigationDrawerModule, IgxRippleModule
77
} from 'igniteui-angular';
88
import { AppRoutingModule } from './app-routing.module';
9-
import { AppComponent } from './app.component';
9+
import { App } from './app';
1010
import { AuthenticationModule, ExternalAuthService } from './authentication';
1111
import { HomeComponent } from './home/home.component';
1212

1313
@NgModule({
1414
declarations: [
15-
AppComponent,
15+
App,
1616
HomeComponent
1717
],
1818
imports: [
@@ -29,7 +29,7 @@ import { HomeComponent } from './home/home.component';
2929
IgxRippleModule
3030
],
3131
providers: [],
32-
bootstrap: [AppComponent]
32+
bootstrap: [App]
3333
})
3434
export class AppModule {
3535

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import { TestBed, waitForAsync } from '@angular/core/testing';
22
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
33
import { RouterModule } from '@angular/router';
44
import { IgxLayoutModule, IgxNavbarModule, IgxNavigationDrawerModule, IgxRippleModule } from 'igniteui-angular';
5-
import { AppComponent } from './app';
5+
import { App } from './app';
66
import { AuthenticationModule } from './authentication';
77

8-
describe('AppComponent', () => {
8+
describe('App', () => {
99
beforeEach(waitForAsync(() => {
1010
TestBed.configureTestingModule({
1111
imports: [
@@ -16,13 +16,13 @@ describe('AppComponent', () => {
1616
IgxNavbarModule,
1717
IgxLayoutModule,
1818
IgxRippleModule,
19-
AppComponent
19+
App
2020
]
2121
}).compileComponents();
2222
}));
2323

2424
it('should create the app', waitForAsync(() => {
25-
const fixture = TestBed.createComponent(AppComponent);
25+
const fixture = TestBed.createComponent(App);
2626
const app = fixture.componentInstance;
2727
expect(app).toBeTruthy();
2828
}));

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { TestBed, waitForAsync } from '@angular/core/testing';
22
import { RouterModule } from '@angular/router';
33
import { IgxLayoutModule, IgxNavbarModule, IgxNavigationDrawerModule, IgxRippleModule } from 'igniteui-angular';
4-
import { AppComponent } from './app';
4+
import { App } from './app';
55

6-
describe('AppComponent', () => {
6+
describe('App', () => {
77
beforeEach(waitForAsync(() => {
88
TestBed.configureTestingModule({
99
imports: [
@@ -12,13 +12,13 @@ describe('AppComponent', () => {
1212
IgxNavbarModule,
1313
IgxNavigationDrawerModule,
1414
IgxRippleModule,
15-
AppComponent
15+
App
1616
]
1717
}).compileComponents();
1818
}));
1919

2020
it('should create the app', waitForAsync(() => {
21-
const fixture = TestBed.createComponent(AppComponent);
21+
const fixture = TestBed.createComponent(App);
2222
const app = fixture.componentInstance;
2323
expect(app).toBeTruthy();
2424
}));

0 commit comments

Comments
 (0)