Upgrade to angular 13
This commit is contained in:
parent
853b7069f9
commit
dc49c0a958
1
.gitignore
vendored
1
.gitignore
vendored
@ -23,6 +23,7 @@
|
||||
!.vscode/extensions.json
|
||||
|
||||
# misc
|
||||
/.angular/cache
|
||||
/.sass-cache
|
||||
/connect.lock
|
||||
/coverage
|
||||
|
||||
20
angular.json
20
angular.json
@ -149,17 +149,6 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"builder": "@angular-devkit/build-angular:tslint",
|
||||
"options": {
|
||||
"tsConfig": [
|
||||
"src/tsconfig.app.json",
|
||||
"src/tsconfig.spec.json"
|
||||
],
|
||||
"typeCheck": true,
|
||||
"exclude": []
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -174,15 +163,6 @@
|
||||
"protractorConfig": "./protractor.conf.js",
|
||||
"devServerTarget": "ngx-admin-demo:serve"
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"builder": "@angular-devkit/build-angular:tslint",
|
||||
"options": {
|
||||
"tsConfig": [
|
||||
"e2e/tsconfig.e2e.json"
|
||||
],
|
||||
"exclude": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
87083
package-lock.json
generated
87083
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
226
package.json
226
package.json
@ -1,116 +1,114 @@
|
||||
{
|
||||
"name": "ngx-admin",
|
||||
"version": "8.0.0",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/akveo/ngx-admin.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/akveo/ngx-admin/issues"
|
||||
},
|
||||
"scripts": {
|
||||
"ng": "ng",
|
||||
"conventional-changelog": "conventional-changelog",
|
||||
"start": "ng serve",
|
||||
"build": "ng build --output-path \\\\ArkNAS\\docker\\nginx-proxy\\data\\ChurchAngular --configuration production",
|
||||
"build:prod": "npm run build -- --configuration production --aot",
|
||||
"test": "ng test",
|
||||
"test:coverage": "rimraf coverage && npm run test -- --code-coverage",
|
||||
"lint": "ng lint",
|
||||
"lint:fix": "ng lint ngx-admin-demo --fix",
|
||||
"lint:styles": "stylelint ./src/**/*.scss",
|
||||
"lint:ci": "npm run lint && npm run lint:styles",
|
||||
"pree2e": "webdriver-manager update --standalone false --gecko false",
|
||||
"e2e": "ng e2e",
|
||||
"docs": "compodoc -p src/tsconfig.app.json -d docs",
|
||||
"docs:serve": "compodoc -p src/tsconfig.app.json -d docs -s",
|
||||
"prepush": "npm run lint:ci",
|
||||
"release:changelog": "npm run conventional-changelog -- -p angular -i CHANGELOG.md -s",
|
||||
"postinstall": "ngcc --properties es2015 es5 browser module main --first-only --create-ivy-entry-points --tsconfig \"./src/tsconfig.app.json\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@angular/animations": "^12.2.16",
|
||||
"@angular/cdk": "12.1.0",
|
||||
"@angular/common": "^12.2.16",
|
||||
"@angular/compiler": "^12.2.16",
|
||||
"@angular/core": "^12.2.16",
|
||||
"@angular/forms": "^12.2.16",
|
||||
"@angular/google-maps": "^12.2.13",
|
||||
"@angular/platform-browser": "^12.2.16",
|
||||
"@angular/platform-browser-dynamic": "^12.2.16",
|
||||
"@angular/router": "^12.2.16",
|
||||
"@asymmetrik/ngx-leaflet": "3.0.1",
|
||||
"@microsoft/signalr": "^6.0.8",
|
||||
"@nebular/auth": "8.0.0",
|
||||
"@nebular/date-fns": "^9.0.3",
|
||||
"@nebular/eva-icons": "8.0.0",
|
||||
"@nebular/security": "8.0.0",
|
||||
"@nebular/theme": "8.0.0",
|
||||
"angular2-chartjs": "0.4.1",
|
||||
"angular2-qrcode": "^2.0.3",
|
||||
"bootstrap": "4.3.1",
|
||||
"chart.js": "2.7.1",
|
||||
"ckeditor": "4.7.3",
|
||||
"classlist.js": "1.1.20150312",
|
||||
"core-js": "2.5.1",
|
||||
"echarts": "^4.9.0",
|
||||
"eva-icons": "^1.1.3",
|
||||
"file-saver": "^2.0.5",
|
||||
"intl": "1.2.5",
|
||||
"ionicons": "2.0.1",
|
||||
"leaflet": "1.2.0",
|
||||
"nebular-icons": "1.1.0",
|
||||
"ng-in-viewport": "^13.0.1",
|
||||
"ng2-ckeditor": "~1.2.9",
|
||||
"ng2-completer": "^9.0.1",
|
||||
"ngx-echarts": "^4.2.2",
|
||||
"ngx-infinite-scroll": "^13.0.2",
|
||||
"ngx-mask": "^12.0.0",
|
||||
"node-sass": "^4.14.1",
|
||||
"normalize.css": "6.0.0",
|
||||
"pace-js": "1.0.2",
|
||||
"roboto-fontface": "0.8.0",
|
||||
"rxjs": "6.6.2",
|
||||
"rxjs-compat": "6.3.0",
|
||||
"socicon": "3.0.5",
|
||||
"style-loader": "^1.3.0",
|
||||
"tinymce": "4.5.7",
|
||||
"tslib": "^2.3.1",
|
||||
"typeface-exo": "0.0.22",
|
||||
"typeit": "^8.7.0",
|
||||
"web-animations-js": "^2.3.2",
|
||||
"zone.js": "~0.11.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "^12.1.4",
|
||||
"@angular/cli": "^12.2.17",
|
||||
"@angular/compiler-cli": "^12.2.16",
|
||||
"@angular/language-service": "12.1.0",
|
||||
"@compodoc/compodoc": "1.0.1",
|
||||
"@fortawesome/fontawesome-free": "^5.2.0",
|
||||
"@schematics/angular": "^14.1.3",
|
||||
"@types/d3-color": "1.0.5",
|
||||
"@types/jasmine": "~3.3.0",
|
||||
"@types/jasminewd2": "2.0.3",
|
||||
"@types/leaflet": "1.2.3",
|
||||
"@types/node": "^12.12.70",
|
||||
"codelyzer": "^6.0.2",
|
||||
"conventional-changelog-cli": "1.3.4",
|
||||
"husky": "0.13.3",
|
||||
"jasmine-core": "~3.6.0",
|
||||
"jasmine-spec-reporter": "~5.0.0",
|
||||
"karma": "~6.3.19",
|
||||
"karma-chrome-launcher": "~3.1.1",
|
||||
"karma-cli": "1.0.1",
|
||||
"karma-coverage-istanbul-reporter": "~3.0.2",
|
||||
"karma-jasmine": "~4.0.2",
|
||||
"karma-jasmine-html-reporter": "^1.7.0",
|
||||
"npm-run-all": "4.0.2",
|
||||
"protractor": "~7.0.0",
|
||||
"rimraf": "2.6.1",
|
||||
"stylelint": "7.13.0",
|
||||
"ts-node": "3.2.2",
|
||||
"typescript": "~4.2.3||~4.3.0"
|
||||
}
|
||||
"name": "ngx-admin",
|
||||
"version": "8.0.0",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/akveo/ngx-admin.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/akveo/ngx-admin/issues"
|
||||
},
|
||||
"scripts": {
|
||||
"ng": "ng",
|
||||
"conventional-changelog": "conventional-changelog",
|
||||
"start": "ng serve",
|
||||
"build": "ng build --output-path \\\\ArkNAS\\docker\\nginx-proxy\\data\\ChurchAngular --configuration production",
|
||||
"build:prod": "npm run build -- --configuration production --aot",
|
||||
"test": "ng test",
|
||||
"test:coverage": "rimraf coverage && npm run test -- --code-coverage",
|
||||
"lint": "ng lint",
|
||||
"lint:fix": "ng lint ngx-admin-demo --fix",
|
||||
"lint:styles": "stylelint ./src/**/*.scss",
|
||||
"lint:ci": "npm run lint && npm run lint:styles",
|
||||
"pree2e": "webdriver-manager update --standalone false --gecko false",
|
||||
"e2e": "ng e2e",
|
||||
"docs": "compodoc -p src/tsconfig.app.json -d docs",
|
||||
"docs:serve": "compodoc -p src/tsconfig.app.json -d docs -s",
|
||||
"prepush": "npm run lint:ci",
|
||||
"release:changelog": "npm run conventional-changelog -- -p angular -i CHANGELOG.md -s",
|
||||
"postinstall": "ngcc --properties es2015 es5 browser module main --first-only --create-ivy-entry-points --tsconfig \"./src/tsconfig.app.json\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@angular/animations": "^13.4.0",
|
||||
"@angular/cdk": "13.3.9",
|
||||
"@angular/common": "^13.4.0",
|
||||
"@angular/compiler": "^13.4.0",
|
||||
"@angular/core": "^13.4.0",
|
||||
"@angular/forms": "^13.4.0",
|
||||
"@angular/google-maps": "^12.2.13",
|
||||
"@angular/platform-browser": "^13.4.0",
|
||||
"@angular/platform-browser-dynamic": "^13.4.0",
|
||||
"@angular/router": "^13.4.0",
|
||||
"@asymmetrik/ngx-leaflet": "3.0.1",
|
||||
"@microsoft/signalr": "^6.0.8",
|
||||
"@nebular/auth": "9.0.3",
|
||||
"@nebular/date-fns": "^9.0.3",
|
||||
"@nebular/eva-icons": "9.0.3",
|
||||
"@nebular/security": "9.0.3",
|
||||
"@nebular/theme": "9.0.3",
|
||||
"angular2-chartjs": "0.4.1",
|
||||
"angular2-qrcode": "^2.0.3",
|
||||
"bootstrap": "4.3.1",
|
||||
"chart.js": "2.7.1",
|
||||
"ckeditor": "4.7.3",
|
||||
"core-js": "2.5.1",
|
||||
"echarts": "^4.9.0",
|
||||
"eva-icons": "^1.1.3",
|
||||
"file-saver": "^2.0.5",
|
||||
"intl": "1.2.5",
|
||||
"ionicons": "2.0.1",
|
||||
"leaflet": "1.2.0",
|
||||
"nebular-icons": "1.1.0",
|
||||
"ng-in-viewport": "^13.0.1",
|
||||
"ng2-ckeditor": "~1.2.9",
|
||||
"ng2-completer": "^9.0.1",
|
||||
"ngx-echarts": "^4.2.2",
|
||||
"ngx-infinite-scroll": "^13.0.2",
|
||||
"ngx-mask": "^12.0.0",
|
||||
"node-sass": "^4.14.1",
|
||||
"normalize.css": "6.0.0",
|
||||
"pace-js": "1.0.2",
|
||||
"roboto-fontface": "0.8.0",
|
||||
"rxjs": "6.6.2",
|
||||
"rxjs-compat": "6.3.0",
|
||||
"socicon": "3.0.5",
|
||||
"style-loader": "^1.3.0",
|
||||
"tinymce": "4.5.7",
|
||||
"tslib": "^2.3.1",
|
||||
"typeface-exo": "0.0.22",
|
||||
"typeit": "^8.7.0",
|
||||
"zone.js": "~0.11.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "^13.3.11",
|
||||
"@angular/cli": "^13.3.11",
|
||||
"@angular/compiler-cli": "^13.4.0",
|
||||
"@angular/language-service": "13.4.0",
|
||||
"@compodoc/compodoc": "1.0.1",
|
||||
"@fortawesome/fontawesome-free": "^5.2.0",
|
||||
"@schematics/angular": "^14.1.3",
|
||||
"@types/d3-color": "1.0.5",
|
||||
"@types/jasmine": "~3.3.0",
|
||||
"@types/jasminewd2": "2.0.3",
|
||||
"@types/leaflet": "1.2.3",
|
||||
"@types/node": "^12.12.70",
|
||||
"codelyzer": "^6.0.2",
|
||||
"conventional-changelog-cli": "1.3.4",
|
||||
"husky": "0.13.3",
|
||||
"jasmine-core": "~3.6.0",
|
||||
"jasmine-spec-reporter": "~5.0.0",
|
||||
"karma": "~6.3.19",
|
||||
"karma-chrome-launcher": "~3.1.1",
|
||||
"karma-cli": "1.0.1",
|
||||
"karma-coverage-istanbul-reporter": "~3.0.2",
|
||||
"karma-jasmine": "~4.0.2",
|
||||
"karma-jasmine-html-reporter": "^1.7.0",
|
||||
"npm-run-all": "4.0.2",
|
||||
"protractor": "~7.0.0",
|
||||
"rimraf": "2.6.1",
|
||||
"stylelint": "7.13.0",
|
||||
"ts-node": "3.2.2",
|
||||
"typescript": "~4.6.4"
|
||||
}
|
||||
}
|
||||
@ -8,15 +8,12 @@ import { ContextMenuModule } from '../../ui/context-menu/context-menu.module';
|
||||
const components = [RightClickMenuDirective,];
|
||||
|
||||
@NgModule({
|
||||
declarations: [...components],
|
||||
entryComponents: [
|
||||
ContextMenuComponent
|
||||
],
|
||||
imports: [
|
||||
CommonModule,
|
||||
NbDialogModule,
|
||||
ContextMenuModule
|
||||
],
|
||||
exports: [...components],
|
||||
declarations: [...components],
|
||||
imports: [
|
||||
CommonModule,
|
||||
NbDialogModule,
|
||||
ContextMenuModule
|
||||
],
|
||||
exports: [...components]
|
||||
})
|
||||
export class RightClickMenuModule { }
|
||||
|
||||
@ -2,10 +2,9 @@ import { Component } from '@angular/core';
|
||||
import { CalendarKitMonthCellComponent } from './month-cell/month-cell.component';
|
||||
|
||||
@Component({
|
||||
selector: 'ngx-calendar-kit',
|
||||
templateUrl: 'calendar-kit.component.html',
|
||||
styleUrls: ['calendar-kit.component.scss'],
|
||||
entryComponents: [CalendarKitMonthCellComponent],
|
||||
selector: 'ngx-calendar-kit',
|
||||
templateUrl: 'calendar-kit.component.html',
|
||||
styleUrls: ['calendar-kit.component.scss']
|
||||
})
|
||||
export class CalendarKitFullCalendarShowcaseComponent {
|
||||
month = new Date();
|
||||
|
||||
@ -3,10 +3,9 @@ import { NbCalendarRange, NbDateService } from '@nebular/theme';
|
||||
import { DayCellComponent } from './day-cell/day-cell.component';
|
||||
|
||||
@Component({
|
||||
selector: 'ngx-calendar',
|
||||
templateUrl: 'calendar.component.html',
|
||||
styleUrls: ['calendar.component.scss'],
|
||||
entryComponents: [DayCellComponent],
|
||||
selector: 'ngx-calendar',
|
||||
templateUrl: 'calendar.component.html',
|
||||
styleUrls: ['calendar.component.scss']
|
||||
})
|
||||
export class CalendarComponent {
|
||||
|
||||
|
||||
@ -77,18 +77,15 @@ const SERVICES = [
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
...MODULES,
|
||||
],
|
||||
declarations: [
|
||||
...COMPONENTS,
|
||||
],
|
||||
providers: [
|
||||
...SERVICES,
|
||||
],
|
||||
entryComponents: [
|
||||
...ENTRY_COMPONENTS,
|
||||
],
|
||||
imports: [
|
||||
...MODULES,
|
||||
],
|
||||
declarations: [
|
||||
...COMPONENTS,
|
||||
],
|
||||
providers: [
|
||||
...SERVICES,
|
||||
]
|
||||
})
|
||||
export class ModalOverlaysModule {
|
||||
}
|
||||
|
||||
@ -7,26 +7,23 @@ import { InitFocusModule } from '../../directives/init-focus/init-focus.module';
|
||||
import { AlertDlgComponent } from './alert-dlg.component';
|
||||
import { DropDownListModule } from '../drop-down-list/drop-down-list.module';
|
||||
@NgModule({
|
||||
declarations: [AlertDlgComponent],
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
NbInputModule,
|
||||
NbCardModule,
|
||||
NbButtonModule,
|
||||
NbIconModule,
|
||||
NbTooltipModule,
|
||||
NbProgressBarModule,
|
||||
MaskDirectiveModule,
|
||||
InitFocusModule,
|
||||
DropDownListModule
|
||||
],
|
||||
exports: [
|
||||
AlertDlgComponent
|
||||
],
|
||||
entryComponents: [
|
||||
AlertDlgComponent,
|
||||
]
|
||||
declarations: [AlertDlgComponent],
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
NbInputModule,
|
||||
NbCardModule,
|
||||
NbButtonModule,
|
||||
NbIconModule,
|
||||
NbTooltipModule,
|
||||
NbProgressBarModule,
|
||||
MaskDirectiveModule,
|
||||
InitFocusModule,
|
||||
DropDownListModule
|
||||
],
|
||||
exports: [
|
||||
AlertDlgComponent
|
||||
]
|
||||
}
|
||||
)
|
||||
export class AlertDlgModule { }
|
||||
|
||||
@ -7,25 +7,23 @@ import { CalendarViewComponent } from './calendar-view/calendar-view.component';
|
||||
import { RegexValidatorModule } from '../../directives/regex-validator/regex-validator.module';
|
||||
|
||||
@NgModule({
|
||||
declarations: [DateInputComponent, CalendarViewComponent],
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
NbInputModule,
|
||||
NbDatepickerModule,
|
||||
|
||||
NbIconModule,
|
||||
NbButtonModule,
|
||||
RegexValidatorModule,
|
||||
NbIconModule,
|
||||
NbButtonModule,
|
||||
NbCardModule,
|
||||
NbCalendarKitModule,
|
||||
NbTooltipModule,
|
||||
],
|
||||
exports: [
|
||||
DateInputComponent
|
||||
],
|
||||
entryComponents: [CalendarViewComponent]
|
||||
declarations: [DateInputComponent, CalendarViewComponent],
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
NbInputModule,
|
||||
NbDatepickerModule,
|
||||
NbIconModule,
|
||||
NbButtonModule,
|
||||
RegexValidatorModule,
|
||||
NbIconModule,
|
||||
NbButtonModule,
|
||||
NbCardModule,
|
||||
NbCalendarKitModule,
|
||||
NbTooltipModule,
|
||||
],
|
||||
exports: [
|
||||
DateInputComponent
|
||||
]
|
||||
})
|
||||
export class DateInputModule { }
|
||||
|
||||
@ -7,27 +7,24 @@ import { DropDownMenuComponent } from './drop-down-menu/drop-down-menu.component
|
||||
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
DropDownListComponent,
|
||||
DropDownMenuComponent,
|
||||
],
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
NbInputModule,
|
||||
NbSelectModule,
|
||||
NbMenuModule,
|
||||
NbContextMenuModule,
|
||||
NbButtonModule,
|
||||
NbIconModule,
|
||||
NbCardModule,
|
||||
NbTooltipModule,
|
||||
],
|
||||
exports: [
|
||||
DropDownListComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
DropDownMenuComponent
|
||||
]
|
||||
declarations: [
|
||||
DropDownListComponent,
|
||||
DropDownMenuComponent,
|
||||
],
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
NbInputModule,
|
||||
NbSelectModule,
|
||||
NbMenuModule,
|
||||
NbContextMenuModule,
|
||||
NbButtonModule,
|
||||
NbIconModule,
|
||||
NbCardModule,
|
||||
NbTooltipModule,
|
||||
],
|
||||
exports: [
|
||||
DropDownListComponent,
|
||||
]
|
||||
})
|
||||
export class DropDownListModule { }
|
||||
|
||||
@ -33,35 +33,30 @@ const components = [
|
||||
]
|
||||
|
||||
@NgModule({
|
||||
declarations: [...components, MultiRecordPickerDlgComponent],
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
NbButtonModule,
|
||||
NbCalendarRangeModule,
|
||||
NbCardModule,
|
||||
NbCheckboxModule,
|
||||
NbDatepickerModule,
|
||||
NbDialogModule,
|
||||
NbIconModule,
|
||||
NbInputModule,
|
||||
NbSelectModule,
|
||||
NbTooltipModule,
|
||||
NbAlertModule,
|
||||
NbSpinnerModule,
|
||||
CurrencyInputModule,
|
||||
DragDropModule,
|
||||
DropDownListModule,
|
||||
PagerModule,
|
||||
RightClickMenuModule,
|
||||
InitFocusModule,
|
||||
InfiniteScrollModule
|
||||
],
|
||||
exports: [...components],
|
||||
entryComponents: [
|
||||
FancyTableEditorComponent,
|
||||
ConfirmDialogComponent,
|
||||
],
|
||||
|
||||
declarations: [...components, MultiRecordPickerDlgComponent],
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
NbButtonModule,
|
||||
NbCalendarRangeModule,
|
||||
NbCardModule,
|
||||
NbCheckboxModule,
|
||||
NbDatepickerModule,
|
||||
NbDialogModule,
|
||||
NbIconModule,
|
||||
NbInputModule,
|
||||
NbSelectModule,
|
||||
NbTooltipModule,
|
||||
NbAlertModule,
|
||||
NbSpinnerModule,
|
||||
CurrencyInputModule,
|
||||
DragDropModule,
|
||||
DropDownListModule,
|
||||
PagerModule,
|
||||
RightClickMenuModule,
|
||||
InitFocusModule,
|
||||
InfiniteScrollModule
|
||||
],
|
||||
exports: [...components]
|
||||
})
|
||||
export class FancyTableModule { }
|
||||
|
||||
@ -3,11 +3,10 @@ import { CommonModule } from '@angular/common';
|
||||
import { PopoverMsgComponent } from './popover-msg.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [PopoverMsgComponent],
|
||||
imports: [
|
||||
CommonModule
|
||||
],
|
||||
exports: [PopoverMsgComponent],
|
||||
entryComponents: [PopoverMsgComponent]
|
||||
declarations: [PopoverMsgComponent],
|
||||
imports: [
|
||||
CommonModule
|
||||
],
|
||||
exports: [PopoverMsgComponent]
|
||||
})
|
||||
export class PopoverMsgModule { }
|
||||
|
||||
@ -16,14 +16,7 @@
|
||||
|
||||
/***************************************************************************************************
|
||||
* BROWSER POLYFILLS
|
||||
*/
|
||||
|
||||
|
||||
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
|
||||
import 'classlist.js'; // Run `npm install --save classlist.js`.
|
||||
|
||||
/** IE10 and IE11 requires the following to support `@angular/animation`. */
|
||||
import 'web-animations-js'; // Run `npm install --save web-animations-js`.
|
||||
*/ // Run `npm install --save classlist.js`. // Run `npm install --save web-animations-js`.
|
||||
|
||||
|
||||
/** Evergreen browsers require these. **/
|
||||
@ -31,10 +24,6 @@ import 'core-js/es6/reflect';
|
||||
import 'core-js/es7/reflect';
|
||||
|
||||
|
||||
/** ALL Firefox browsers require the following to support `@angular/animation`. **/
|
||||
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
|
||||
|
||||
|
||||
/***************************************************************************************************
|
||||
* Zone JS is required by Angular itself.
|
||||
*/
|
||||
|
||||
@ -28,7 +28,9 @@ __karma__.loaded = function () {};
|
||||
// First, initialize the Angular testing environment.
|
||||
getTestBed().initTestEnvironment(
|
||||
BrowserDynamicTestingModule,
|
||||
platformBrowserDynamicTesting(),
|
||||
platformBrowserDynamicTesting(), {
|
||||
teardown: { destroyAfterEach: false }
|
||||
},
|
||||
);
|
||||
// Then we find all the tests.
|
||||
const context = require.context('./', true, /\.spec\.ts$/);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user