@igniteui/angular-templates 21.0.1483 → 21.0.1485-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,8 @@ describe('<%=ClassName%>Component', () => {
9
9
 
10
10
  beforeEach(waitForAsync(() => {
11
11
  TestBed.configureTestingModule({
12
- imports: [FormsModule, IgxCategoryChartModule, <%=ClassName%>Component]
12
+ imports: [FormsModule, IgxCategoryChartModule, <%=ClassName%>Component],
13
+ teardown: { destroyAfterEach: false }
13
14
  })
14
15
  .compileComponents();
15
16
  }));
@@ -8,7 +8,8 @@ describe('<%=ClassName%>Component', () => {
8
8
 
9
9
  beforeEach(waitForAsync(() => {
10
10
  TestBed.configureTestingModule({
11
- imports: [IgxFinancialChartModule, <%=ClassName%>Component]
11
+ imports: [IgxFinancialChartModule, <%=ClassName%>Component],
12
+ teardown: { destroyAfterEach: false }
12
13
  })
13
14
  .compileComponents();
14
15
  }));
@@ -9,7 +9,7 @@ describe('<%=ClassName%>Component', () => {
9
9
 
10
10
  beforeEach(waitForAsync(() => {
11
11
  TestBed.configureTestingModule({
12
- imports: [IgxLinearGaugeModule, NoopAnimationsModule, <%=ClassName%>Componen]
12
+ imports: [IgxLinearGaugeModule, NoopAnimationsModule, <%=ClassName%>Component]
13
13
  })
14
14
  .compileComponents();
15
15
  }));
@@ -47,7 +47,7 @@
47
47
  {
48
48
  "type": "initial",
49
49
  "maximumWarning": "5mb",
50
- "maximumError": "10mb"
50
+ "maximumError": "40mb"
51
51
  },
52
52
  {
53
53
  "type": "anyComponentStyle",
@@ -86,7 +86,6 @@
86
86
  "test": {
87
87
  "builder": "@angular-devkit/build-angular:karma",
88
88
  "options": {
89
- "main": "src/test.ts",
90
89
  "polyfills": [
91
90
  "zone.js",
92
91
  "zone.js/testing"
@@ -1,4 +1,4 @@
1
- import { ApplicationConfig, ErrorHandler, Provider, importProvidersFrom } from '@angular/core';
1
+ import { ApplicationConfig, ErrorHandler, Provider, importProvidersFrom, provideZoneChangeDetection } from '@angular/core';
2
2
  import { provideRouter } from '@angular/router';
3
3
  import { BrowserModule, HammerModule } from '@angular/platform-browser';
4
4
  import { provideAnimations } from '@angular/platform-browser/animations';
@@ -11,6 +11,7 @@ import { environment } from '../environments/environment';
11
11
  // to override the default settings of the HammerModule
12
12
  // { provide: HAMMER_GESTURE_CONFIG, useClass: MyHammerConfig }
13
13
  const providers: Provider = [
14
+ provideZoneChangeDetection({ eventCoalescing: true }),
14
15
  provideRouter(routes),
15
16
  importProvidersFrom(BrowserModule, HammerModule),
16
17
  provideAnimations()
@@ -7,9 +7,6 @@
7
7
  "jasmine"
8
8
  ]
9
9
  },
10
- "files": [
11
- "src/test.ts"
12
- ],
13
10
  "include": [
14
11
  "src/**/*.spec.ts",
15
12
  "src/**/*.d.ts"
@@ -1,9 +1,10 @@
1
- import { ApplicationConfig, Provider } from '@angular/core';
1
+ import { ApplicationConfig, Provider, provideZoneChangeDetection } from '@angular/core';
2
2
  import { provideRouter } from '@angular/router';
3
3
 
4
4
  import { routes } from './app.routes';
5
5
 
6
6
  const providers: Provider = [
7
+ provideZoneChangeDetection({ eventCoalescing: true }),
7
8
  provideRouter(routes)
8
9
  ];
9
10
 
@@ -1,9 +1,10 @@
1
- import { ApplicationConfig, Provider } from '@angular/core';
1
+ import { ApplicationConfig, Provider, provideZoneChangeDetection } from '@angular/core';
2
2
  import { provideRouter } from '@angular/router';
3
3
 
4
4
  import { routes } from './app.routes';
5
5
 
6
6
  const providers: Provider = [
7
+ provideZoneChangeDetection({ eventCoalescing: true }),
7
8
  provideRouter(routes)
8
9
  ];
9
10
 
@@ -1,4 +1,4 @@
1
- import { ApplicationConfig, Provider, importProvidersFrom } from '@angular/core';
1
+ import { ApplicationConfig, Provider, importProvidersFrom, provideZoneChangeDetection } from '@angular/core';
2
2
  import { provideRouter } from '@angular/router';
3
3
  import { BrowserModule, HammerModule } from '@angular/platform-browser';
4
4
  import { provideAnimations } from '@angular/platform-browser/animations';
@@ -15,6 +15,7 @@ import { routes } from './app.routes';
15
15
  // to override the default settings of the HammerModule
16
16
  // { provide: HAMMER_GESTURE_CONFIG, useClass: MyHammerConfig }
17
17
  const providers: Provider = [
18
+ provideZoneChangeDetection({ eventCoalescing: true }),
18
19
  provideRouter(routes),
19
20
  importProvidersFrom(
20
21
  BrowserModule,
@@ -1,4 +1,4 @@
1
- import { ApplicationConfig, Provider, importProvidersFrom } from '@angular/core';
1
+ import { ApplicationConfig, Provider, importProvidersFrom, provideZoneChangeDetection } from '@angular/core';
2
2
  import { provideRouter } from '@angular/router';
3
3
  import { BrowserModule, HammerModule } from '@angular/platform-browser';
4
4
  import { provideAnimations } from '@angular/platform-browser/animations';
@@ -16,6 +16,7 @@ import { routes } from './app.routes';
16
16
  // to override the default settings of the HammerModule
17
17
  // { provide: HAMMER_GESTURE_CONFIG, useClass: MyHammerConfig }
18
18
  const providers: Provider = [
19
+ provideZoneChangeDetection({ eventCoalescing: true }),
19
20
  provideRouter(routes),
20
21
  importProvidersFrom(
21
22
  BrowserModule,
@@ -11,7 +11,6 @@
11
11
  "module": "commonjs"
12
12
  },
13
13
  "files": [
14
- "src/test.ts",
15
14
  "src/polyfills.ts"
16
15
  ],
17
16
  "include": [
@@ -10,7 +10,8 @@ describe('<%=ClassName%>Component', () => {
10
10
  beforeEach(waitForAsync(() => {
11
11
  TestBed.configureTestingModule({
12
12
  declarations: [<%=ClassName%>Component],
13
- imports: [FormsModule, IgxCategoryChartModule]
13
+ imports: [FormsModule, IgxCategoryChartModule],
14
+ teardown: { destroyAfterEach: false }
14
15
  })
15
16
  .compileComponents();
16
17
  }));
@@ -9,7 +9,8 @@ describe('<%=ClassName%>Component', () => {
9
9
  beforeEach(waitForAsync(() => {
10
10
  TestBed.configureTestingModule({
11
11
  declarations: [<%=ClassName%>Component],
12
- imports: [IgxFinancialChartModule]
12
+ imports: [IgxFinancialChartModule],
13
+ teardown: { destroyAfterEach: false }
13
14
  })
14
15
  .compileComponents();
15
16
  }));
@@ -48,7 +48,7 @@
48
48
  {
49
49
  "type": "initial",
50
50
  "maximumWarning": "5mb",
51
- "maximumError": "10mb"
51
+ "maximumError": "40mb"
52
52
  },
53
53
  {
54
54
  "type": "anyComponentStyle",
@@ -94,8 +94,10 @@
94
94
  "test": {
95
95
  "builder": "@angular-devkit/build-angular:karma",
96
96
  "options": {
97
- "main": "src/test.ts",
98
- "polyfills": "src/polyfills.ts",
97
+ "polyfills": [
98
+ "zone.js",
99
+ "zone.js/testing"
100
+ ],
99
101
  "tsConfig": "tsconfig.spec.json",
100
102
  "inlineStyleLanguage": "scss",
101
103
  "styles": [
@@ -8,7 +8,6 @@
8
8
  ]
9
9
  },
10
10
  "files": [
11
- "src/test.ts",
12
11
  "src/polyfills.ts"
13
12
  ],
14
13
  "include": [
@@ -11,7 +11,6 @@
11
11
  "module": "commonjs"
12
12
  },
13
13
  "files": [
14
- "src/test.ts",
15
14
  "src/polyfills.ts"
16
15
  ],
17
16
  "include": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igniteui/angular-templates",
3
- "version": "21.0.1483",
3
+ "version": "21.0.1485-beta.0",
4
4
  "description": "Templates for Ignite UI for Angular projects and components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,7 +12,7 @@
12
12
  "author": "Infragistics",
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
- "@igniteui/cli-core": "~14.8.3",
15
+ "@igniteui/cli-core": "~14.8.5-beta.0",
16
16
  "typescript": "~5.5.4"
17
17
  }
18
18
  }
@@ -1,13 +0,0 @@
1
- // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2
-
3
- import 'zone.js/testing';
4
- import { getTestBed } from '@angular/core/testing';
5
- import { BrowserTestingModule, platformBrowserTesting } from '@angular/platform-browser/testing';
6
-
7
- // First, initialize the Angular testing environment.
8
- getTestBed().initTestEnvironment(
9
- BrowserTestingModule,
10
- platformBrowserTesting(), {
11
- teardown: { destroyAfterEach: false }
12
- }
13
- );
@@ -1,13 +0,0 @@
1
- // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2
-
3
- import 'zone.js/testing';
4
- import { getTestBed } from '@angular/core/testing';
5
- import { BrowserTestingModule, platformBrowserTesting } from '@angular/platform-browser/testing';
6
-
7
- // First, initialize the Angular testing environment.
8
- getTestBed().initTestEnvironment(
9
- BrowserTestingModule,
10
- platformBrowserTesting(), {
11
- teardown: { destroyAfterEach: false }
12
- }
13
- );