diff --git a/.gitignore b/.gitignore index 0da0cb6c..5853a24d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -# See http://help.github.com/ignore-files/ for more about ignoring files. +# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files. # Compiled output /dist @@ -7,7 +7,7 @@ /bazel-out # Node -node_modules +/node_modules npm-debug.log yarn-error.log diff --git a/angular.json b/angular.json index 756c25e8..22428a81 100644 --- a/angular.json +++ b/angular.json @@ -222,9 +222,11 @@ "test": { "builder": "@angular-devkit/build-angular:karma", "options": { - "main": "projects/core/src/test.ts", "tsConfig": "projects/core/tsconfig.spec.json", - "karmaConfig": "projects/core/karma.conf.js" + "polyfills": [ + "zone.js", + "zone.js/testing" + ] } } } @@ -253,9 +255,11 @@ "test": { "builder": "@angular-devkit/build-angular:karma", "options": { - "main": "projects/list-loader/src/test.ts", "tsConfig": "projects/list-loader/tsconfig.spec.json", - "karmaConfig": "projects/list-loader/karma.conf.js" + "polyfills": [ + "zone.js", + "zone.js/testing" + ] } } } @@ -284,9 +288,11 @@ "test": { "builder": "@angular-devkit/build-angular:karma", "options": { - "main": "projects/message-box/src/test.ts", "tsConfig": "projects/message-box/tsconfig.spec.json", - "karmaConfig": "projects/message-box/karma.conf.js" + "polyfills": [ + "zone.js", + "zone.js/testing" + ] } } } @@ -315,9 +321,11 @@ "test": { "builder": "@angular-devkit/build-angular:karma", "options": { - "main": "projects/numeric-stepper/src/test.ts", "tsConfig": "projects/numeric-stepper/tsconfig.spec.json", - "karmaConfig": "projects/numeric-stepper/karma.conf.js" + "polyfills": [ + "zone.js", + "zone.js/testing" + ] } } } @@ -346,9 +354,11 @@ "test": { "builder": "@angular-devkit/build-angular:karma", "options": { - "main": "projects/overlay/src/test.ts", "tsConfig": "projects/overlay/tsconfig.spec.json", - "karmaConfig": "projects/overlay/karma.conf.js" + "polyfills": [ + "zone.js", + "zone.js/testing" + ] } } } @@ -377,9 +387,11 @@ "test": { "builder": "@angular-devkit/build-angular:karma", "options": { - "main": "projects/snackbar/src/test.ts", "tsConfig": "projects/snackbar/tsconfig.spec.json", - "karmaConfig": "projects/snackbar/karma.conf.js" + "polyfills": [ + "zone.js", + "zone.js/testing" + ] } } } @@ -408,9 +420,11 @@ "test": { "builder": "@angular-devkit/build-angular:karma", "options": { - "main": "projects/splitter/src/test.ts", "tsConfig": "projects/splitter/tsconfig.spec.json", - "karmaConfig": "projects/splitter/karma.conf.js" + "polyfills": [ + "zone.js", + "zone.js/testing" + ] } } } @@ -439,9 +453,11 @@ "test": { "builder": "@angular-devkit/build-angular:karma", "options": { - "main": "projects/status/src/test.ts", "tsConfig": "projects/status/tsconfig.spec.json", - "karmaConfig": "projects/status/karma.conf.js" + "polyfills": [ + "zone.js", + "zone.js/testing" + ] } } } @@ -470,9 +486,11 @@ "test": { "builder": "@angular-devkit/build-angular:karma", "options": { - "main": "projects/time-picker/src/test.ts", "tsConfig": "projects/time-picker/tsconfig.spec.json", - "karmaConfig": "projects/time-picker/karma.conf.js" + "polyfills": [ + "zone.js", + "zone.js/testing" + ] } } } @@ -501,9 +519,11 @@ "test": { "builder": "@angular-devkit/build-angular:karma", "options": { - "main": "projects/tooltip/src/test.ts", "tsConfig": "projects/tooltip/tsconfig.spec.json", - "karmaConfig": "projects/tooltip/karma.conf.js" + "polyfills": [ + "zone.js", + "zone.js/testing" + ] } } } @@ -532,9 +552,11 @@ "test": { "builder": "@angular-devkit/build-angular:karma", "options": { - "main": "projects/sidenav/src/test.ts", "tsConfig": "projects/sidenav/tsconfig.spec.json", - "karmaConfig": "projects/sidenav/karma.conf.js" + "polyfills": [ + "zone.js", + "zone.js/testing" + ] } } } @@ -563,9 +585,11 @@ "test": { "builder": "@angular-devkit/build-angular:karma", "options": { - "main": "projects/layout/src/test.ts", "tsConfig": "projects/layout/tsconfig.spec.json", - "karmaConfig": "projects/layout/karma.conf.js" + "polyfills": [ + "zone.js", + "zone.js/testing" + ] } } } @@ -594,9 +618,11 @@ "test": { "builder": "@angular-devkit/build-angular:karma", "options": { - "main": "projects/user-card/src/test.ts", "tsConfig": "projects/user-card/tsconfig.spec.json", - "karmaConfig": "projects/user-card/karma.conf.js" + "polyfills": [ + "zone.js", + "zone.js/testing" + ] } } } @@ -625,9 +651,11 @@ "test": { "builder": "@angular-devkit/build-angular:karma", "options": { - "main": "projects/user-tooltip/src/test.ts", "tsConfig": "projects/user-tooltip/tsconfig.spec.json", - "karmaConfig": "projects/user-tooltip/karma.conf.js" + "polyfills": [ + "zone.js", + "zone.js/testing" + ] } } } @@ -656,9 +684,11 @@ "test": { "builder": "@angular-devkit/build-angular:karma", "options": { - "main": "projects/search-container/src/test.ts", "tsConfig": "projects/search-container/tsconfig.spec.json", - "karmaConfig": "projects/search-container/karma.conf.js" + "polyfills": [ + "zone.js", + "zone.js/testing" + ] } } } @@ -687,9 +717,11 @@ "test": { "builder": "@angular-devkit/build-angular:karma", "options": { - "main": "projects/message-box-dialog/src/test.ts", "tsConfig": "projects/message-box-dialog/tsconfig.spec.json", - "karmaConfig": "projects/message-box-dialog/karma.conf.js" + "polyfills": [ + "zone.js", + "zone.js/testing" + ] } } } @@ -718,9 +750,11 @@ "test": { "builder": "@angular-devkit/build-angular:karma", "options": { - "main": "projects/date-picker/src/test.ts", "tsConfig": "projects/date-picker/tsconfig.spec.json", - "karmaConfig": "projects/date-picker/karma.conf.js" + "polyfills": [ + "zone.js", + "zone.js/testing" + ] } } } diff --git a/projects/core/karma.conf.js b/projects/core/karma.conf.js deleted file mode 100644 index e28bfee0..00000000 --- a/projects/core/karma.conf.js +++ /dev/null @@ -1,45 +0,0 @@ -// Karma configuration file, see link for more information -// https://karma-runner.github.io/1.0/config/configuration-file.html - -module.exports = config => { - config.set({ - basePath: '', - frameworks: ['jasmine', '@angular-devkit/build-angular'], - plugins: [ - require('karma-jasmine'), - require('karma-chrome-launcher'), - require('karma-jasmine-html-reporter'), - require('karma-coverage'), - require('@angular-devkit/build-angular/plugins/karma') - ], - client: { - jasmine: { - // you can add configuration options for Jasmine here - // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html - // for example, you can disable the random execution with `random: false` - // or set a specific seed with `seed: 4321` - }, - clearContext: false // leave Jasmine Spec Runner output visible in browser - }, - jasmineHtmlReporter: { - suppressAll: true // removes the duplicated traces - }, - coverageReporter: { - dir: require('path').join(__dirname, '../../coverage/core'), - subdir: '.', - reporters: [ - { type: 'html' }, - { type: 'text-summary' } - ] - }, - reporters: ['progress', 'kjhtml'], - port: 9876, - colors: true, - logLevel: config.LOG_INFO, - autoWatch: true, - browsers: ['Chrome'], - singleRun: false, - failOnEmptyTestSuite: false, - restartOnFileChange: true - }); -}; diff --git a/projects/core/src/test.ts b/projects/core/src/test.ts deleted file mode 100644 index e95c0dbe..00000000 --- a/projects/core/src/test.ts +++ /dev/null @@ -1,16 +0,0 @@ -// This file is required by karma.conf.js and loads recursively all the .spec and framework files - -import 'zone.js'; -import 'zone.js/testing'; - -import { getTestBed } from '@angular/core/testing'; -import { - BrowserDynamicTestingModule, - platformBrowserDynamicTesting -} from '@angular/platform-browser-dynamic/testing'; - -// First, initialize the Angular testing environment. -getTestBed().initTestEnvironment( - BrowserDynamicTestingModule, - platformBrowserDynamicTesting() -); diff --git a/projects/core/tsconfig.lib.json b/projects/core/tsconfig.lib.json index 599bb9f4..5ff6d058 100644 --- a/projects/core/tsconfig.lib.json +++ b/projects/core/tsconfig.lib.json @@ -1,5 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ -{ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.base.json", "compilerOptions": { "outDir": "../../out-tsc/lib", @@ -9,7 +9,6 @@ "types": [] }, "exclude": [ - "src/test.ts", "**/*.spec.ts" ] } diff --git a/projects/core/tsconfig.lib.prod.json b/projects/core/tsconfig.lib.prod.json index 560c2391..fbb61ac9 100644 --- a/projects/core/tsconfig.lib.prod.json +++ b/projects/core/tsconfig.lib.prod.json @@ -1,5 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ -{ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "./tsconfig.lib.json", "compilerOptions": { "declarationMap": false diff --git a/projects/core/tsconfig.spec.json b/projects/core/tsconfig.spec.json index 3823c756..d57bd05f 100644 --- a/projects/core/tsconfig.spec.json +++ b/projects/core/tsconfig.spec.json @@ -1,5 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ -{ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "../../out-tsc/spec", @@ -7,9 +7,6 @@ "jasmine" ] }, - "files": [ - "src/test.ts" - ], "include": [ "**/*.spec.ts", "**/*.d.ts" diff --git a/projects/date-picker/karma.conf.js b/projects/date-picker/karma.conf.js deleted file mode 100644 index d849de20..00000000 --- a/projects/date-picker/karma.conf.js +++ /dev/null @@ -1,45 +0,0 @@ -// Karma configuration file, see link for more information -// https://karma-runner.github.io/1.0/config/configuration-file.html - -module.exports = config => { - config.set({ - basePath: '', - frameworks: ['jasmine', '@angular-devkit/build-angular'], - plugins: [ - require('karma-jasmine'), - require('karma-chrome-launcher'), - require('karma-jasmine-html-reporter'), - require('karma-coverage'), - require('@angular-devkit/build-angular/plugins/karma') - ], - client: { - jasmine: { - // you can add configuration options for Jasmine here - // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html - // for example, you can disable the random execution with `random: false` - // or set a specific seed with `seed: 4321` - }, - clearContext: false // leave Jasmine Spec Runner output visible in browser - }, - jasmineHtmlReporter: { - suppressAll: true // removes the duplicated traces - }, - coverageReporter: { - dir: require('path').join(__dirname, '../../coverage/date-picker'), - subdir: '.', - reporters: [ - { type: 'html' }, - { type: 'text-summary' } - ] - }, - reporters: ['progress', 'kjhtml'], - port: 9876, - colors: true, - logLevel: config.LOG_INFO, - autoWatch: true, - browsers: ['Chrome'], - singleRun: false, - failOnEmptyTestSuite: false, - restartOnFileChange: true - }); -}; diff --git a/projects/date-picker/src/test.ts b/projects/date-picker/src/test.ts deleted file mode 100644 index e95c0dbe..00000000 --- a/projects/date-picker/src/test.ts +++ /dev/null @@ -1,16 +0,0 @@ -// This file is required by karma.conf.js and loads recursively all the .spec and framework files - -import 'zone.js'; -import 'zone.js/testing'; - -import { getTestBed } from '@angular/core/testing'; -import { - BrowserDynamicTestingModule, - platformBrowserDynamicTesting -} from '@angular/platform-browser-dynamic/testing'; - -// First, initialize the Angular testing environment. -getTestBed().initTestEnvironment( - BrowserDynamicTestingModule, - platformBrowserDynamicTesting() -); diff --git a/projects/date-picker/tsconfig.lib.json b/projects/date-picker/tsconfig.lib.json index 599bb9f4..5ff6d058 100644 --- a/projects/date-picker/tsconfig.lib.json +++ b/projects/date-picker/tsconfig.lib.json @@ -1,5 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ -{ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.base.json", "compilerOptions": { "outDir": "../../out-tsc/lib", @@ -9,7 +9,6 @@ "types": [] }, "exclude": [ - "src/test.ts", "**/*.spec.ts" ] } diff --git a/projects/date-picker/tsconfig.lib.prod.json b/projects/date-picker/tsconfig.lib.prod.json index 560c2391..fbb61ac9 100644 --- a/projects/date-picker/tsconfig.lib.prod.json +++ b/projects/date-picker/tsconfig.lib.prod.json @@ -1,5 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ -{ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "./tsconfig.lib.json", "compilerOptions": { "declarationMap": false diff --git a/projects/date-picker/tsconfig.spec.json b/projects/date-picker/tsconfig.spec.json index 3823c756..d57bd05f 100644 --- a/projects/date-picker/tsconfig.spec.json +++ b/projects/date-picker/tsconfig.spec.json @@ -1,5 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ -{ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "../../out-tsc/spec", @@ -7,9 +7,6 @@ "jasmine" ] }, - "files": [ - "src/test.ts" - ], "include": [ "**/*.spec.ts", "**/*.d.ts" diff --git a/projects/layout/karma.conf.js b/projects/layout/karma.conf.js deleted file mode 100644 index 90c9ba89..00000000 --- a/projects/layout/karma.conf.js +++ /dev/null @@ -1,45 +0,0 @@ -// Karma configuration file, see link for more information -// https://karma-runner.github.io/1.0/config/configuration-file.html - -module.exports = config => { - config.set({ - basePath: '', - frameworks: ['jasmine', '@angular-devkit/build-angular'], - plugins: [ - require('karma-jasmine'), - require('karma-chrome-launcher'), - require('karma-jasmine-html-reporter'), - require('karma-coverage'), - require('@angular-devkit/build-angular/plugins/karma') - ], - client: { - jasmine: { - // you can add configuration options for Jasmine here - // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html - // for example, you can disable the random execution with `random: false` - // or set a specific seed with `seed: 4321` - }, - clearContext: false // leave Jasmine Spec Runner output visible in browser - }, - jasmineHtmlReporter: { - suppressAll: true // removes the duplicated traces - }, - coverageReporter: { - dir: require('path').join(__dirname, '../../coverage/layout'), - subdir: '.', - reporters: [ - { type: 'html' }, - { type: 'text-summary' } - ] - }, - reporters: ['progress', 'kjhtml'], - port: 9876, - colors: true, - logLevel: config.LOG_INFO, - autoWatch: true, - browsers: ['Chrome'], - singleRun: false, - failOnEmptyTestSuite: false, - restartOnFileChange: true - }); -}; diff --git a/projects/layout/src/test.ts b/projects/layout/src/test.ts deleted file mode 100644 index e95c0dbe..00000000 --- a/projects/layout/src/test.ts +++ /dev/null @@ -1,16 +0,0 @@ -// This file is required by karma.conf.js and loads recursively all the .spec and framework files - -import 'zone.js'; -import 'zone.js/testing'; - -import { getTestBed } from '@angular/core/testing'; -import { - BrowserDynamicTestingModule, - platformBrowserDynamicTesting -} from '@angular/platform-browser-dynamic/testing'; - -// First, initialize the Angular testing environment. -getTestBed().initTestEnvironment( - BrowserDynamicTestingModule, - platformBrowserDynamicTesting() -); diff --git a/projects/layout/tsconfig.lib.json b/projects/layout/tsconfig.lib.json index 599bb9f4..5ff6d058 100644 --- a/projects/layout/tsconfig.lib.json +++ b/projects/layout/tsconfig.lib.json @@ -1,5 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ -{ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.base.json", "compilerOptions": { "outDir": "../../out-tsc/lib", @@ -9,7 +9,6 @@ "types": [] }, "exclude": [ - "src/test.ts", "**/*.spec.ts" ] } diff --git a/projects/layout/tsconfig.lib.prod.json b/projects/layout/tsconfig.lib.prod.json index 560c2391..fbb61ac9 100644 --- a/projects/layout/tsconfig.lib.prod.json +++ b/projects/layout/tsconfig.lib.prod.json @@ -1,5 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ -{ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "./tsconfig.lib.json", "compilerOptions": { "declarationMap": false diff --git a/projects/layout/tsconfig.spec.json b/projects/layout/tsconfig.spec.json index 3823c756..d57bd05f 100644 --- a/projects/layout/tsconfig.spec.json +++ b/projects/layout/tsconfig.spec.json @@ -1,5 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ -{ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "../../out-tsc/spec", @@ -7,9 +7,6 @@ "jasmine" ] }, - "files": [ - "src/test.ts" - ], "include": [ "**/*.spec.ts", "**/*.d.ts" diff --git a/projects/list-loader/karma.conf.js b/projects/list-loader/karma.conf.js deleted file mode 100644 index a966054c..00000000 --- a/projects/list-loader/karma.conf.js +++ /dev/null @@ -1,45 +0,0 @@ -// Karma configuration file, see link for more information -// https://karma-runner.github.io/1.0/config/configuration-file.html - -module.exports = config => { - config.set({ - basePath: '', - frameworks: ['jasmine', '@angular-devkit/build-angular'], - plugins: [ - require('karma-jasmine'), - require('karma-chrome-launcher'), - require('karma-jasmine-html-reporter'), - require('karma-coverage'), - require('@angular-devkit/build-angular/plugins/karma') - ], - client: { - jasmine: { - // you can add configuration options for Jasmine here - // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html - // for example, you can disable the random execution with `random: false` - // or set a specific seed with `seed: 4321` - }, - clearContext: false // leave Jasmine Spec Runner output visible in browser - }, - jasmineHtmlReporter: { - suppressAll: true // removes the duplicated traces - }, - coverageReporter: { - dir: require('path').join(__dirname, '../../coverage/list-loader'), - subdir: '.', - reporters: [ - { type: 'html' }, - { type: 'text-summary' } - ] - }, - reporters: ['progress', 'kjhtml'], - port: 9876, - colors: true, - logLevel: config.LOG_INFO, - autoWatch: true, - browsers: ['Chrome'], - singleRun: false, - failOnEmptyTestSuite: false, - restartOnFileChange: true - }); -}; diff --git a/projects/list-loader/src/test.ts b/projects/list-loader/src/test.ts deleted file mode 100644 index e95c0dbe..00000000 --- a/projects/list-loader/src/test.ts +++ /dev/null @@ -1,16 +0,0 @@ -// This file is required by karma.conf.js and loads recursively all the .spec and framework files - -import 'zone.js'; -import 'zone.js/testing'; - -import { getTestBed } from '@angular/core/testing'; -import { - BrowserDynamicTestingModule, - platformBrowserDynamicTesting -} from '@angular/platform-browser-dynamic/testing'; - -// First, initialize the Angular testing environment. -getTestBed().initTestEnvironment( - BrowserDynamicTestingModule, - platformBrowserDynamicTesting() -); diff --git a/projects/list-loader/tsconfig.lib.json b/projects/list-loader/tsconfig.lib.json index 599bb9f4..5ff6d058 100644 --- a/projects/list-loader/tsconfig.lib.json +++ b/projects/list-loader/tsconfig.lib.json @@ -1,5 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ -{ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.base.json", "compilerOptions": { "outDir": "../../out-tsc/lib", @@ -9,7 +9,6 @@ "types": [] }, "exclude": [ - "src/test.ts", "**/*.spec.ts" ] } diff --git a/projects/list-loader/tsconfig.lib.prod.json b/projects/list-loader/tsconfig.lib.prod.json index 560c2391..fbb61ac9 100644 --- a/projects/list-loader/tsconfig.lib.prod.json +++ b/projects/list-loader/tsconfig.lib.prod.json @@ -1,5 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ -{ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "./tsconfig.lib.json", "compilerOptions": { "declarationMap": false diff --git a/projects/list-loader/tsconfig.spec.json b/projects/list-loader/tsconfig.spec.json index 3823c756..d57bd05f 100644 --- a/projects/list-loader/tsconfig.spec.json +++ b/projects/list-loader/tsconfig.spec.json @@ -1,5 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ -{ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "../../out-tsc/spec", @@ -7,9 +7,6 @@ "jasmine" ] }, - "files": [ - "src/test.ts" - ], "include": [ "**/*.spec.ts", "**/*.d.ts" diff --git a/projects/message-box-dialog/karma.conf.js b/projects/message-box-dialog/karma.conf.js deleted file mode 100644 index e07d1298..00000000 --- a/projects/message-box-dialog/karma.conf.js +++ /dev/null @@ -1,45 +0,0 @@ -// Karma configuration file, see link for more information -// https://karma-runner.github.io/1.0/config/configuration-file.html - -module.exports = config => { - config.set({ - basePath: '', - frameworks: ['jasmine', '@angular-devkit/build-angular'], - plugins: [ - require('karma-jasmine'), - require('karma-chrome-launcher'), - require('karma-jasmine-html-reporter'), - require('karma-coverage'), - require('@angular-devkit/build-angular/plugins/karma') - ], - client: { - jasmine: { - // you can add configuration options for Jasmine here - // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html - // for example, you can disable the random execution with `random: false` - // or set a specific seed with `seed: 4321` - }, - clearContext: false // leave Jasmine Spec Runner output visible in browser - }, - jasmineHtmlReporter: { - suppressAll: true // removes the duplicated traces - }, - coverageReporter: { - dir: require('path').join(__dirname, '../../coverage/message-box-dialog'), - subdir: '.', - reporters: [ - { type: 'html' }, - { type: 'text-summary' } - ] - }, - reporters: ['progress', 'kjhtml'], - port: 9876, - colors: true, - logLevel: config.LOG_INFO, - autoWatch: true, - browsers: ['Chrome'], - singleRun: false, - failOnEmptyTestSuite: false, - restartOnFileChange: true - }); -}; diff --git a/projects/message-box-dialog/src/test.ts b/projects/message-box-dialog/src/test.ts deleted file mode 100644 index e95c0dbe..00000000 --- a/projects/message-box-dialog/src/test.ts +++ /dev/null @@ -1,16 +0,0 @@ -// This file is required by karma.conf.js and loads recursively all the .spec and framework files - -import 'zone.js'; -import 'zone.js/testing'; - -import { getTestBed } from '@angular/core/testing'; -import { - BrowserDynamicTestingModule, - platformBrowserDynamicTesting -} from '@angular/platform-browser-dynamic/testing'; - -// First, initialize the Angular testing environment. -getTestBed().initTestEnvironment( - BrowserDynamicTestingModule, - platformBrowserDynamicTesting() -); diff --git a/projects/message-box-dialog/tsconfig.lib.json b/projects/message-box-dialog/tsconfig.lib.json index 599bb9f4..b4be8aa7 100644 --- a/projects/message-box-dialog/tsconfig.lib.json +++ b/projects/message-box-dialog/tsconfig.lib.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.base.json", "compilerOptions": { @@ -9,7 +10,6 @@ "types": [] }, "exclude": [ - "src/test.ts", "**/*.spec.ts" ] } diff --git a/projects/message-box-dialog/tsconfig.lib.prod.json b/projects/message-box-dialog/tsconfig.lib.prod.json index 560c2391..e8500081 100644 --- a/projects/message-box-dialog/tsconfig.lib.prod.json +++ b/projects/message-box-dialog/tsconfig.lib.prod.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "./tsconfig.lib.json", "compilerOptions": { diff --git a/projects/message-box-dialog/tsconfig.spec.json b/projects/message-box-dialog/tsconfig.spec.json index 3823c756..fb6c59bd 100644 --- a/projects/message-box-dialog/tsconfig.spec.json +++ b/projects/message-box-dialog/tsconfig.spec.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.json", "compilerOptions": { @@ -7,9 +8,6 @@ "jasmine" ] }, - "files": [ - "src/test.ts" - ], "include": [ "**/*.spec.ts", "**/*.d.ts" diff --git a/projects/message-box/karma.conf.js b/projects/message-box/karma.conf.js deleted file mode 100644 index 6b3d896a..00000000 --- a/projects/message-box/karma.conf.js +++ /dev/null @@ -1,45 +0,0 @@ -// Karma configuration file, see link for more information -// https://karma-runner.github.io/1.0/config/configuration-file.html - -module.exports = config => { - config.set({ - basePath: '', - frameworks: ['jasmine', '@angular-devkit/build-angular'], - plugins: [ - require('karma-jasmine'), - require('karma-chrome-launcher'), - require('karma-jasmine-html-reporter'), - require('karma-coverage'), - require('@angular-devkit/build-angular/plugins/karma') - ], - client: { - jasmine: { - // you can add configuration options for Jasmine here - // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html - // for example, you can disable the random execution with `random: false` - // or set a specific seed with `seed: 4321` - }, - clearContext: false // leave Jasmine Spec Runner output visible in browser - }, - jasmineHtmlReporter: { - suppressAll: true // removes the duplicated traces - }, - coverageReporter: { - dir: require('path').join(__dirname, '../../coverage/message-box'), - subdir: '.', - reporters: [ - { type: 'html' }, - { type: 'text-summary' } - ] - }, - reporters: ['progress', 'kjhtml'], - port: 9876, - colors: true, - logLevel: config.LOG_INFO, - autoWatch: true, - browsers: ['Chrome'], - singleRun: false, - failOnEmptyTestSuite: false, - restartOnFileChange: true - }); -}; diff --git a/projects/message-box/src/test.ts b/projects/message-box/src/test.ts deleted file mode 100644 index e95c0dbe..00000000 --- a/projects/message-box/src/test.ts +++ /dev/null @@ -1,16 +0,0 @@ -// This file is required by karma.conf.js and loads recursively all the .spec and framework files - -import 'zone.js'; -import 'zone.js/testing'; - -import { getTestBed } from '@angular/core/testing'; -import { - BrowserDynamicTestingModule, - platformBrowserDynamicTesting -} from '@angular/platform-browser-dynamic/testing'; - -// First, initialize the Angular testing environment. -getTestBed().initTestEnvironment( - BrowserDynamicTestingModule, - platformBrowserDynamicTesting() -); diff --git a/projects/message-box/tsconfig.lib.json b/projects/message-box/tsconfig.lib.json index 599bb9f4..b4be8aa7 100644 --- a/projects/message-box/tsconfig.lib.json +++ b/projects/message-box/tsconfig.lib.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.base.json", "compilerOptions": { @@ -9,7 +10,6 @@ "types": [] }, "exclude": [ - "src/test.ts", "**/*.spec.ts" ] } diff --git a/projects/message-box/tsconfig.lib.prod.json b/projects/message-box/tsconfig.lib.prod.json index 560c2391..e8500081 100644 --- a/projects/message-box/tsconfig.lib.prod.json +++ b/projects/message-box/tsconfig.lib.prod.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "./tsconfig.lib.json", "compilerOptions": { diff --git a/projects/message-box/tsconfig.spec.json b/projects/message-box/tsconfig.spec.json index 3823c756..fb6c59bd 100644 --- a/projects/message-box/tsconfig.spec.json +++ b/projects/message-box/tsconfig.spec.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.json", "compilerOptions": { @@ -7,9 +8,6 @@ "jasmine" ] }, - "files": [ - "src/test.ts" - ], "include": [ "**/*.spec.ts", "**/*.d.ts" diff --git a/projects/numeric-stepper/karma.conf.js b/projects/numeric-stepper/karma.conf.js deleted file mode 100644 index 691996f6..00000000 --- a/projects/numeric-stepper/karma.conf.js +++ /dev/null @@ -1,45 +0,0 @@ -// Karma configuration file, see link for more information -// https://karma-runner.github.io/1.0/config/configuration-file.html - -module.exports = config => { - config.set({ - basePath: '', - frameworks: ['jasmine', '@angular-devkit/build-angular'], - plugins: [ - require('karma-jasmine'), - require('karma-chrome-launcher'), - require('karma-jasmine-html-reporter'), - require('karma-coverage'), - require('@angular-devkit/build-angular/plugins/karma') - ], - client: { - jasmine: { - // you can add configuration options for Jasmine here - // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html - // for example, you can disable the random execution with `random: false` - // or set a specific seed with `seed: 4321` - }, - clearContext: false // leave Jasmine Spec Runner output visible in browser - }, - jasmineHtmlReporter: { - suppressAll: true // removes the duplicated traces - }, - coverageReporter: { - dir: require('path').join(__dirname, '../../coverage/numeric-stepper'), - subdir: '.', - reporters: [ - { type: 'html' }, - { type: 'text-summary' } - ] - }, - reporters: ['progress', 'kjhtml'], - port: 9876, - colors: true, - logLevel: config.LOG_INFO, - autoWatch: true, - browsers: ['Chrome'], - singleRun: false, - failOnEmptyTestSuite: false, - restartOnFileChange: true - }); -}; diff --git a/projects/numeric-stepper/src/test.ts b/projects/numeric-stepper/src/test.ts deleted file mode 100644 index e95c0dbe..00000000 --- a/projects/numeric-stepper/src/test.ts +++ /dev/null @@ -1,16 +0,0 @@ -// This file is required by karma.conf.js and loads recursively all the .spec and framework files - -import 'zone.js'; -import 'zone.js/testing'; - -import { getTestBed } from '@angular/core/testing'; -import { - BrowserDynamicTestingModule, - platformBrowserDynamicTesting -} from '@angular/platform-browser-dynamic/testing'; - -// First, initialize the Angular testing environment. -getTestBed().initTestEnvironment( - BrowserDynamicTestingModule, - platformBrowserDynamicTesting() -); diff --git a/projects/numeric-stepper/tsconfig.lib.json b/projects/numeric-stepper/tsconfig.lib.json index 599bb9f4..b4be8aa7 100644 --- a/projects/numeric-stepper/tsconfig.lib.json +++ b/projects/numeric-stepper/tsconfig.lib.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.base.json", "compilerOptions": { @@ -9,7 +10,6 @@ "types": [] }, "exclude": [ - "src/test.ts", "**/*.spec.ts" ] } diff --git a/projects/numeric-stepper/tsconfig.lib.prod.json b/projects/numeric-stepper/tsconfig.lib.prod.json index 560c2391..e8500081 100644 --- a/projects/numeric-stepper/tsconfig.lib.prod.json +++ b/projects/numeric-stepper/tsconfig.lib.prod.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "./tsconfig.lib.json", "compilerOptions": { diff --git a/projects/numeric-stepper/tsconfig.spec.json b/projects/numeric-stepper/tsconfig.spec.json index 3823c756..fb6c59bd 100644 --- a/projects/numeric-stepper/tsconfig.spec.json +++ b/projects/numeric-stepper/tsconfig.spec.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.json", "compilerOptions": { @@ -7,9 +8,6 @@ "jasmine" ] }, - "files": [ - "src/test.ts" - ], "include": [ "**/*.spec.ts", "**/*.d.ts" diff --git a/projects/overlay/karma.conf.js b/projects/overlay/karma.conf.js deleted file mode 100644 index a14a4f6c..00000000 --- a/projects/overlay/karma.conf.js +++ /dev/null @@ -1,45 +0,0 @@ -// Karma configuration file, see link for more information -// https://karma-runner.github.io/1.0/config/configuration-file.html - -module.exports = config => { - config.set({ - basePath: '', - frameworks: ['jasmine', '@angular-devkit/build-angular'], - plugins: [ - require('karma-jasmine'), - require('karma-chrome-launcher'), - require('karma-jasmine-html-reporter'), - require('karma-coverage'), - require('@angular-devkit/build-angular/plugins/karma') - ], - client: { - jasmine: { - // you can add configuration options for Jasmine here - // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html - // for example, you can disable the random execution with `random: false` - // or set a specific seed with `seed: 4321` - }, - clearContext: false // leave Jasmine Spec Runner output visible in browser - }, - jasmineHtmlReporter: { - suppressAll: true // removes the duplicated traces - }, - coverageReporter: { - dir: require('path').join(__dirname, '../../coverage/overlay'), - subdir: '.', - reporters: [ - { type: 'html' }, - { type: 'text-summary' } - ] - }, - reporters: ['progress', 'kjhtml'], - port: 9876, - colors: true, - logLevel: config.LOG_INFO, - autoWatch: true, - browsers: ['Chrome'], - singleRun: false, - failOnEmptyTestSuite: false, - restartOnFileChange: true - }); -}; diff --git a/projects/overlay/src/test.ts b/projects/overlay/src/test.ts deleted file mode 100644 index e95c0dbe..00000000 --- a/projects/overlay/src/test.ts +++ /dev/null @@ -1,16 +0,0 @@ -// This file is required by karma.conf.js and loads recursively all the .spec and framework files - -import 'zone.js'; -import 'zone.js/testing'; - -import { getTestBed } from '@angular/core/testing'; -import { - BrowserDynamicTestingModule, - platformBrowserDynamicTesting -} from '@angular/platform-browser-dynamic/testing'; - -// First, initialize the Angular testing environment. -getTestBed().initTestEnvironment( - BrowserDynamicTestingModule, - platformBrowserDynamicTesting() -); diff --git a/projects/overlay/tsconfig.lib.json b/projects/overlay/tsconfig.lib.json index 599bb9f4..b4be8aa7 100644 --- a/projects/overlay/tsconfig.lib.json +++ b/projects/overlay/tsconfig.lib.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.base.json", "compilerOptions": { @@ -9,7 +10,6 @@ "types": [] }, "exclude": [ - "src/test.ts", "**/*.spec.ts" ] } diff --git a/projects/overlay/tsconfig.lib.prod.json b/projects/overlay/tsconfig.lib.prod.json index 560c2391..e8500081 100644 --- a/projects/overlay/tsconfig.lib.prod.json +++ b/projects/overlay/tsconfig.lib.prod.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "./tsconfig.lib.json", "compilerOptions": { diff --git a/projects/overlay/tsconfig.spec.json b/projects/overlay/tsconfig.spec.json index 3823c756..fb6c59bd 100644 --- a/projects/overlay/tsconfig.spec.json +++ b/projects/overlay/tsconfig.spec.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.json", "compilerOptions": { @@ -7,9 +8,6 @@ "jasmine" ] }, - "files": [ - "src/test.ts" - ], "include": [ "**/*.spec.ts", "**/*.d.ts" diff --git a/projects/search-container/karma.conf.js b/projects/search-container/karma.conf.js deleted file mode 100644 index 1c5a5e3a..00000000 --- a/projects/search-container/karma.conf.js +++ /dev/null @@ -1,45 +0,0 @@ -// Karma configuration file, see link for more information -// https://karma-runner.github.io/1.0/config/configuration-file.html - -module.exports = config => { - config.set({ - basePath: '', - frameworks: ['jasmine', '@angular-devkit/build-angular'], - plugins: [ - require('karma-jasmine'), - require('karma-chrome-launcher'), - require('karma-jasmine-html-reporter'), - require('karma-coverage'), - require('@angular-devkit/build-angular/plugins/karma') - ], - client: { - jasmine: { - // you can add configuration options for Jasmine here - // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html - // for example, you can disable the random execution with `random: false` - // or set a specific seed with `seed: 4321` - }, - clearContext: false // leave Jasmine Spec Runner output visible in browser - }, - jasmineHtmlReporter: { - suppressAll: true // removes the duplicated traces - }, - coverageReporter: { - dir: require('path').join(__dirname, '../../coverage/search-container'), - subdir: '.', - reporters: [ - { type: 'html' }, - { type: 'text-summary' } - ] - }, - reporters: ['progress', 'kjhtml'], - port: 9876, - colors: true, - logLevel: config.LOG_INFO, - autoWatch: true, - browsers: ['Chrome'], - singleRun: false, - failOnEmptyTestSuite: false, - restartOnFileChange: true - }); -}; diff --git a/projects/search-container/src/test.ts b/projects/search-container/src/test.ts deleted file mode 100644 index e95c0dbe..00000000 --- a/projects/search-container/src/test.ts +++ /dev/null @@ -1,16 +0,0 @@ -// This file is required by karma.conf.js and loads recursively all the .spec and framework files - -import 'zone.js'; -import 'zone.js/testing'; - -import { getTestBed } from '@angular/core/testing'; -import { - BrowserDynamicTestingModule, - platformBrowserDynamicTesting -} from '@angular/platform-browser-dynamic/testing'; - -// First, initialize the Angular testing environment. -getTestBed().initTestEnvironment( - BrowserDynamicTestingModule, - platformBrowserDynamicTesting() -); diff --git a/projects/search-container/tsconfig.lib.json b/projects/search-container/tsconfig.lib.json index 599bb9f4..b4be8aa7 100644 --- a/projects/search-container/tsconfig.lib.json +++ b/projects/search-container/tsconfig.lib.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.base.json", "compilerOptions": { @@ -9,7 +10,6 @@ "types": [] }, "exclude": [ - "src/test.ts", "**/*.spec.ts" ] } diff --git a/projects/search-container/tsconfig.lib.prod.json b/projects/search-container/tsconfig.lib.prod.json index 560c2391..e8500081 100644 --- a/projects/search-container/tsconfig.lib.prod.json +++ b/projects/search-container/tsconfig.lib.prod.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "./tsconfig.lib.json", "compilerOptions": { diff --git a/projects/search-container/tsconfig.spec.json b/projects/search-container/tsconfig.spec.json index 3823c756..fb6c59bd 100644 --- a/projects/search-container/tsconfig.spec.json +++ b/projects/search-container/tsconfig.spec.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.json", "compilerOptions": { @@ -7,9 +8,6 @@ "jasmine" ] }, - "files": [ - "src/test.ts" - ], "include": [ "**/*.spec.ts", "**/*.d.ts" diff --git a/projects/sidenav/karma.conf.js b/projects/sidenav/karma.conf.js deleted file mode 100644 index dca534c2..00000000 --- a/projects/sidenav/karma.conf.js +++ /dev/null @@ -1,45 +0,0 @@ -// Karma configuration file, see link for more information -// https://karma-runner.github.io/1.0/config/configuration-file.html - -module.exports = config => { - config.set({ - basePath: '', - frameworks: ['jasmine', '@angular-devkit/build-angular'], - plugins: [ - require('karma-jasmine'), - require('karma-chrome-launcher'), - require('karma-jasmine-html-reporter'), - require('karma-coverage'), - require('@angular-devkit/build-angular/plugins/karma') - ], - client: { - jasmine: { - // you can add configuration options for Jasmine here - // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html - // for example, you can disable the random execution with `random: false` - // or set a specific seed with `seed: 4321` - }, - clearContext: false // leave Jasmine Spec Runner output visible in browser - }, - jasmineHtmlReporter: { - suppressAll: true // removes the duplicated traces - }, - coverageReporter: { - dir: require('path').join(__dirname, '../../coverage/sidenav'), - subdir: '.', - reporters: [ - { type: 'html' }, - { type: 'text-summary' } - ] - }, - reporters: ['progress', 'kjhtml'], - port: 9876, - colors: true, - logLevel: config.LOG_INFO, - autoWatch: true, - browsers: ['Chrome'], - singleRun: false, - failOnEmptyTestSuite: false, - restartOnFileChange: true - }); -}; diff --git a/projects/sidenav/src/test.ts b/projects/sidenav/src/test.ts deleted file mode 100644 index e95c0dbe..00000000 --- a/projects/sidenav/src/test.ts +++ /dev/null @@ -1,16 +0,0 @@ -// This file is required by karma.conf.js and loads recursively all the .spec and framework files - -import 'zone.js'; -import 'zone.js/testing'; - -import { getTestBed } from '@angular/core/testing'; -import { - BrowserDynamicTestingModule, - platformBrowserDynamicTesting -} from '@angular/platform-browser-dynamic/testing'; - -// First, initialize the Angular testing environment. -getTestBed().initTestEnvironment( - BrowserDynamicTestingModule, - platformBrowserDynamicTesting() -); diff --git a/projects/sidenav/tsconfig.lib.json b/projects/sidenav/tsconfig.lib.json index 599bb9f4..b4be8aa7 100644 --- a/projects/sidenav/tsconfig.lib.json +++ b/projects/sidenav/tsconfig.lib.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.base.json", "compilerOptions": { @@ -9,7 +10,6 @@ "types": [] }, "exclude": [ - "src/test.ts", "**/*.spec.ts" ] } diff --git a/projects/sidenav/tsconfig.lib.prod.json b/projects/sidenav/tsconfig.lib.prod.json index 560c2391..e8500081 100644 --- a/projects/sidenav/tsconfig.lib.prod.json +++ b/projects/sidenav/tsconfig.lib.prod.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "./tsconfig.lib.json", "compilerOptions": { diff --git a/projects/sidenav/tsconfig.spec.json b/projects/sidenav/tsconfig.spec.json index 3823c756..fb6c59bd 100644 --- a/projects/sidenav/tsconfig.spec.json +++ b/projects/sidenav/tsconfig.spec.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.json", "compilerOptions": { @@ -7,9 +8,6 @@ "jasmine" ] }, - "files": [ - "src/test.ts" - ], "include": [ "**/*.spec.ts", "**/*.d.ts" diff --git a/projects/snackbar/karma.conf.js b/projects/snackbar/karma.conf.js deleted file mode 100644 index ef4f1830..00000000 --- a/projects/snackbar/karma.conf.js +++ /dev/null @@ -1,45 +0,0 @@ -// Karma configuration file, see link for more information -// https://karma-runner.github.io/1.0/config/configuration-file.html - -module.exports = config => { - config.set({ - basePath: '', - frameworks: ['jasmine', '@angular-devkit/build-angular'], - plugins: [ - require('karma-jasmine'), - require('karma-chrome-launcher'), - require('karma-jasmine-html-reporter'), - require('karma-coverage'), - require('@angular-devkit/build-angular/plugins/karma') - ], - client: { - jasmine: { - // you can add configuration options for Jasmine here - // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html - // for example, you can disable the random execution with `random: false` - // or set a specific seed with `seed: 4321` - }, - clearContext: false // leave Jasmine Spec Runner output visible in browser - }, - jasmineHtmlReporter: { - suppressAll: true // removes the duplicated traces - }, - coverageReporter: { - dir: require('path').join(__dirname, '../../coverage/snackbar'), - subdir: '.', - reporters: [ - { type: 'html' }, - { type: 'text-summary' } - ] - }, - reporters: ['progress', 'kjhtml'], - port: 9876, - colors: true, - logLevel: config.LOG_INFO, - autoWatch: true, - browsers: ['Chrome'], - singleRun: false, - failOnEmptyTestSuite: false, - restartOnFileChange: true - }); -}; diff --git a/projects/snackbar/src/test.ts b/projects/snackbar/src/test.ts deleted file mode 100644 index e95c0dbe..00000000 --- a/projects/snackbar/src/test.ts +++ /dev/null @@ -1,16 +0,0 @@ -// This file is required by karma.conf.js and loads recursively all the .spec and framework files - -import 'zone.js'; -import 'zone.js/testing'; - -import { getTestBed } from '@angular/core/testing'; -import { - BrowserDynamicTestingModule, - platformBrowserDynamicTesting -} from '@angular/platform-browser-dynamic/testing'; - -// First, initialize the Angular testing environment. -getTestBed().initTestEnvironment( - BrowserDynamicTestingModule, - platformBrowserDynamicTesting() -); diff --git a/projects/snackbar/tsconfig.lib.json b/projects/snackbar/tsconfig.lib.json index 599bb9f4..b4be8aa7 100644 --- a/projects/snackbar/tsconfig.lib.json +++ b/projects/snackbar/tsconfig.lib.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.base.json", "compilerOptions": { @@ -9,7 +10,6 @@ "types": [] }, "exclude": [ - "src/test.ts", "**/*.spec.ts" ] } diff --git a/projects/snackbar/tsconfig.lib.prod.json b/projects/snackbar/tsconfig.lib.prod.json index 560c2391..e8500081 100644 --- a/projects/snackbar/tsconfig.lib.prod.json +++ b/projects/snackbar/tsconfig.lib.prod.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "./tsconfig.lib.json", "compilerOptions": { diff --git a/projects/snackbar/tsconfig.spec.json b/projects/snackbar/tsconfig.spec.json index 3823c756..fb6c59bd 100644 --- a/projects/snackbar/tsconfig.spec.json +++ b/projects/snackbar/tsconfig.spec.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.json", "compilerOptions": { @@ -7,9 +8,6 @@ "jasmine" ] }, - "files": [ - "src/test.ts" - ], "include": [ "**/*.spec.ts", "**/*.d.ts" diff --git a/projects/splitter/karma.conf.js b/projects/splitter/karma.conf.js deleted file mode 100644 index 738f641b..00000000 --- a/projects/splitter/karma.conf.js +++ /dev/null @@ -1,45 +0,0 @@ -// Karma configuration file, see link for more information -// https://karma-runner.github.io/1.0/config/configuration-file.html - -module.exports = config => { - config.set({ - basePath: '', - frameworks: ['jasmine', '@angular-devkit/build-angular'], - plugins: [ - require('karma-jasmine'), - require('karma-chrome-launcher'), - require('karma-jasmine-html-reporter'), - require('karma-coverage'), - require('@angular-devkit/build-angular/plugins/karma') - ], - client: { - jasmine: { - // you can add configuration options for Jasmine here - // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html - // for example, you can disable the random execution with `random: false` - // or set a specific seed with `seed: 4321` - }, - clearContext: false // leave Jasmine Spec Runner output visible in browser - }, - jasmineHtmlReporter: { - suppressAll: true // removes the duplicated traces - }, - coverageReporter: { - dir: require('path').join(__dirname, '../../coverage/splitter'), - subdir: '.', - reporters: [ - { type: 'html' }, - { type: 'text-summary' } - ] - }, - reporters: ['progress', 'kjhtml'], - port: 9876, - colors: true, - logLevel: config.LOG_INFO, - autoWatch: true, - browsers: ['Chrome'], - singleRun: false, - failOnEmptyTestSuite: false, - restartOnFileChange: true - }); -}; diff --git a/projects/splitter/src/test.ts b/projects/splitter/src/test.ts deleted file mode 100644 index e95c0dbe..00000000 --- a/projects/splitter/src/test.ts +++ /dev/null @@ -1,16 +0,0 @@ -// This file is required by karma.conf.js and loads recursively all the .spec and framework files - -import 'zone.js'; -import 'zone.js/testing'; - -import { getTestBed } from '@angular/core/testing'; -import { - BrowserDynamicTestingModule, - platformBrowserDynamicTesting -} from '@angular/platform-browser-dynamic/testing'; - -// First, initialize the Angular testing environment. -getTestBed().initTestEnvironment( - BrowserDynamicTestingModule, - platformBrowserDynamicTesting() -); diff --git a/projects/splitter/tsconfig.lib.json b/projects/splitter/tsconfig.lib.json index 599bb9f4..b4be8aa7 100644 --- a/projects/splitter/tsconfig.lib.json +++ b/projects/splitter/tsconfig.lib.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.base.json", "compilerOptions": { @@ -9,7 +10,6 @@ "types": [] }, "exclude": [ - "src/test.ts", "**/*.spec.ts" ] } diff --git a/projects/splitter/tsconfig.lib.prod.json b/projects/splitter/tsconfig.lib.prod.json index 560c2391..e8500081 100644 --- a/projects/splitter/tsconfig.lib.prod.json +++ b/projects/splitter/tsconfig.lib.prod.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "./tsconfig.lib.json", "compilerOptions": { diff --git a/projects/splitter/tsconfig.spec.json b/projects/splitter/tsconfig.spec.json index 3823c756..fb6c59bd 100644 --- a/projects/splitter/tsconfig.spec.json +++ b/projects/splitter/tsconfig.spec.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.json", "compilerOptions": { @@ -7,9 +8,6 @@ "jasmine" ] }, - "files": [ - "src/test.ts" - ], "include": [ "**/*.spec.ts", "**/*.d.ts" diff --git a/projects/status/karma.conf.js b/projects/status/karma.conf.js deleted file mode 100644 index afde4c20..00000000 --- a/projects/status/karma.conf.js +++ /dev/null @@ -1,45 +0,0 @@ -// Karma configuration file, see link for more information -// https://karma-runner.github.io/1.0/config/configuration-file.html - -module.exports = config => { - config.set({ - basePath: '', - frameworks: ['jasmine', '@angular-devkit/build-angular'], - plugins: [ - require('karma-jasmine'), - require('karma-chrome-launcher'), - require('karma-jasmine-html-reporter'), - require('karma-coverage'), - require('@angular-devkit/build-angular/plugins/karma') - ], - client: { - jasmine: { - // you can add configuration options for Jasmine here - // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html - // for example, you can disable the random execution with `random: false` - // or set a specific seed with `seed: 4321` - }, - clearContext: false // leave Jasmine Spec Runner output visible in browser - }, - jasmineHtmlReporter: { - suppressAll: true // removes the duplicated traces - }, - coverageReporter: { - dir: require('path').join(__dirname, '../../coverage/status'), - subdir: '.', - reporters: [ - { type: 'html' }, - { type: 'text-summary' } - ] - }, - reporters: ['progress', 'kjhtml'], - port: 9876, - colors: true, - logLevel: config.LOG_INFO, - autoWatch: true, - browsers: ['Chrome'], - singleRun: false, - failOnEmptyTestSuite: false, - restartOnFileChange: true - }); -}; diff --git a/projects/status/src/test.ts b/projects/status/src/test.ts deleted file mode 100644 index e95c0dbe..00000000 --- a/projects/status/src/test.ts +++ /dev/null @@ -1,16 +0,0 @@ -// This file is required by karma.conf.js and loads recursively all the .spec and framework files - -import 'zone.js'; -import 'zone.js/testing'; - -import { getTestBed } from '@angular/core/testing'; -import { - BrowserDynamicTestingModule, - platformBrowserDynamicTesting -} from '@angular/platform-browser-dynamic/testing'; - -// First, initialize the Angular testing environment. -getTestBed().initTestEnvironment( - BrowserDynamicTestingModule, - platformBrowserDynamicTesting() -); diff --git a/projects/status/tsconfig.lib.json b/projects/status/tsconfig.lib.json index 599bb9f4..b4be8aa7 100644 --- a/projects/status/tsconfig.lib.json +++ b/projects/status/tsconfig.lib.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.base.json", "compilerOptions": { @@ -9,7 +10,6 @@ "types": [] }, "exclude": [ - "src/test.ts", "**/*.spec.ts" ] } diff --git a/projects/status/tsconfig.lib.prod.json b/projects/status/tsconfig.lib.prod.json index 560c2391..e8500081 100644 --- a/projects/status/tsconfig.lib.prod.json +++ b/projects/status/tsconfig.lib.prod.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "./tsconfig.lib.json", "compilerOptions": { diff --git a/projects/status/tsconfig.spec.json b/projects/status/tsconfig.spec.json index 3823c756..fb6c59bd 100644 --- a/projects/status/tsconfig.spec.json +++ b/projects/status/tsconfig.spec.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.json", "compilerOptions": { @@ -7,9 +8,6 @@ "jasmine" ] }, - "files": [ - "src/test.ts" - ], "include": [ "**/*.spec.ts", "**/*.d.ts" diff --git a/projects/storybook/src/test.ts b/projects/storybook/src/test.ts deleted file mode 100644 index e95c0dbe..00000000 --- a/projects/storybook/src/test.ts +++ /dev/null @@ -1,16 +0,0 @@ -// This file is required by karma.conf.js and loads recursively all the .spec and framework files - -import 'zone.js'; -import 'zone.js/testing'; - -import { getTestBed } from '@angular/core/testing'; -import { - BrowserDynamicTestingModule, - platformBrowserDynamicTesting -} from '@angular/platform-browser-dynamic/testing'; - -// First, initialize the Angular testing environment. -getTestBed().initTestEnvironment( - BrowserDynamicTestingModule, - platformBrowserDynamicTesting() -); diff --git a/projects/storybook/tsconfig.app.json b/projects/storybook/tsconfig.app.json index 599bb9f4..b4be8aa7 100644 --- a/projects/storybook/tsconfig.app.json +++ b/projects/storybook/tsconfig.app.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.base.json", "compilerOptions": { @@ -9,7 +10,6 @@ "types": [] }, "exclude": [ - "src/test.ts", "**/*.spec.ts" ] } diff --git a/projects/storybook/tsconfig.spec.json b/projects/storybook/tsconfig.spec.json index 7074637d..430e2b4b 100644 --- a/projects/storybook/tsconfig.spec.json +++ b/projects/storybook/tsconfig.spec.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.json", "compilerOptions": { @@ -7,10 +8,6 @@ "jasmine" ] }, - "files": [ - "src/test.ts", - "src/polyfills.ts" - ], "include": [ "src/**/*.spec.ts", "src/**/*.d.ts" diff --git a/projects/time-picker/karma.conf.js b/projects/time-picker/karma.conf.js deleted file mode 100644 index 6a76f971..00000000 --- a/projects/time-picker/karma.conf.js +++ /dev/null @@ -1,45 +0,0 @@ -// Karma configuration file, see link for more information -// https://karma-runner.github.io/1.0/config/configuration-file.html - -module.exports = config => { - config.set({ - basePath: '', - frameworks: ['jasmine', '@angular-devkit/build-angular'], - plugins: [ - require('karma-jasmine'), - require('karma-chrome-launcher'), - require('karma-jasmine-html-reporter'), - require('karma-coverage'), - require('@angular-devkit/build-angular/plugins/karma') - ], - client: { - jasmine: { - // you can add configuration options for Jasmine here - // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html - // for example, you can disable the random execution with `random: false` - // or set a specific seed with `seed: 4321` - }, - clearContext: false // leave Jasmine Spec Runner output visible in browser - }, - jasmineHtmlReporter: { - suppressAll: true // removes the duplicated traces - }, - coverageReporter: { - dir: require('path').join(__dirname, '../../coverage/time-picker'), - subdir: '.', - reporters: [ - { type: 'html' }, - { type: 'text-summary' } - ] - }, - reporters: ['progress', 'kjhtml'], - port: 9876, - colors: true, - logLevel: config.LOG_INFO, - autoWatch: true, - browsers: ['Chrome'], - singleRun: false, - failOnEmptyTestSuite: false, - restartOnFileChange: true - }); -}; diff --git a/projects/time-picker/src/test.ts b/projects/time-picker/src/test.ts deleted file mode 100644 index e95c0dbe..00000000 --- a/projects/time-picker/src/test.ts +++ /dev/null @@ -1,16 +0,0 @@ -// This file is required by karma.conf.js and loads recursively all the .spec and framework files - -import 'zone.js'; -import 'zone.js/testing'; - -import { getTestBed } from '@angular/core/testing'; -import { - BrowserDynamicTestingModule, - platformBrowserDynamicTesting -} from '@angular/platform-browser-dynamic/testing'; - -// First, initialize the Angular testing environment. -getTestBed().initTestEnvironment( - BrowserDynamicTestingModule, - platformBrowserDynamicTesting() -); diff --git a/projects/time-picker/tsconfig.lib.json b/projects/time-picker/tsconfig.lib.json index 599bb9f4..b4be8aa7 100644 --- a/projects/time-picker/tsconfig.lib.json +++ b/projects/time-picker/tsconfig.lib.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.base.json", "compilerOptions": { @@ -9,7 +10,6 @@ "types": [] }, "exclude": [ - "src/test.ts", "**/*.spec.ts" ] } diff --git a/projects/time-picker/tsconfig.lib.prod.json b/projects/time-picker/tsconfig.lib.prod.json index 560c2391..e8500081 100644 --- a/projects/time-picker/tsconfig.lib.prod.json +++ b/projects/time-picker/tsconfig.lib.prod.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "./tsconfig.lib.json", "compilerOptions": { diff --git a/projects/time-picker/tsconfig.spec.json b/projects/time-picker/tsconfig.spec.json index 3823c756..fb6c59bd 100644 --- a/projects/time-picker/tsconfig.spec.json +++ b/projects/time-picker/tsconfig.spec.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.json", "compilerOptions": { @@ -7,9 +8,6 @@ "jasmine" ] }, - "files": [ - "src/test.ts" - ], "include": [ "**/*.spec.ts", "**/*.d.ts" diff --git a/projects/tooltip/karma.conf.js b/projects/tooltip/karma.conf.js deleted file mode 100644 index 7f244881..00000000 --- a/projects/tooltip/karma.conf.js +++ /dev/null @@ -1,45 +0,0 @@ -// Karma configuration file, see link for more information -// https://karma-runner.github.io/1.0/config/configuration-file.html - -module.exports = config => { - config.set({ - basePath: '', - frameworks: ['jasmine', '@angular-devkit/build-angular'], - plugins: [ - require('karma-jasmine'), - require('karma-chrome-launcher'), - require('karma-jasmine-html-reporter'), - require('karma-coverage'), - require('@angular-devkit/build-angular/plugins/karma') - ], - client: { - jasmine: { - // you can add configuration options for Jasmine here - // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html - // for example, you can disable the random execution with `random: false` - // or set a specific seed with `seed: 4321` - }, - clearContext: false // leave Jasmine Spec Runner output visible in browser - }, - jasmineHtmlReporter: { - suppressAll: true // removes the duplicated traces - }, - coverageReporter: { - dir: require('path').join(__dirname, '../../coverage/tooltip'), - subdir: '.', - reporters: [ - { type: 'html' }, - { type: 'text-summary' } - ] - }, - reporters: ['progress', 'kjhtml'], - port: 9876, - colors: true, - logLevel: config.LOG_INFO, - autoWatch: true, - browsers: ['Chrome'], - singleRun: false, - failOnEmptyTestSuite: false, - restartOnFileChange: true - }); -}; diff --git a/projects/tooltip/src/test.ts b/projects/tooltip/src/test.ts deleted file mode 100644 index e95c0dbe..00000000 --- a/projects/tooltip/src/test.ts +++ /dev/null @@ -1,16 +0,0 @@ -// This file is required by karma.conf.js and loads recursively all the .spec and framework files - -import 'zone.js'; -import 'zone.js/testing'; - -import { getTestBed } from '@angular/core/testing'; -import { - BrowserDynamicTestingModule, - platformBrowserDynamicTesting -} from '@angular/platform-browser-dynamic/testing'; - -// First, initialize the Angular testing environment. -getTestBed().initTestEnvironment( - BrowserDynamicTestingModule, - platformBrowserDynamicTesting() -); diff --git a/projects/tooltip/tsconfig.lib.json b/projects/tooltip/tsconfig.lib.json index 599bb9f4..b4be8aa7 100644 --- a/projects/tooltip/tsconfig.lib.json +++ b/projects/tooltip/tsconfig.lib.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.base.json", "compilerOptions": { @@ -9,7 +10,6 @@ "types": [] }, "exclude": [ - "src/test.ts", "**/*.spec.ts" ] } diff --git a/projects/tooltip/tsconfig.lib.prod.json b/projects/tooltip/tsconfig.lib.prod.json index 560c2391..e8500081 100644 --- a/projects/tooltip/tsconfig.lib.prod.json +++ b/projects/tooltip/tsconfig.lib.prod.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "./tsconfig.lib.json", "compilerOptions": { diff --git a/projects/tooltip/tsconfig.spec.json b/projects/tooltip/tsconfig.spec.json index 3823c756..fb6c59bd 100644 --- a/projects/tooltip/tsconfig.spec.json +++ b/projects/tooltip/tsconfig.spec.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.json", "compilerOptions": { @@ -7,9 +8,6 @@ "jasmine" ] }, - "files": [ - "src/test.ts" - ], "include": [ "**/*.spec.ts", "**/*.d.ts" diff --git a/projects/user-card/karma.conf.js b/projects/user-card/karma.conf.js deleted file mode 100644 index c3edda40..00000000 --- a/projects/user-card/karma.conf.js +++ /dev/null @@ -1,45 +0,0 @@ -// Karma configuration file, see link for more information -// https://karma-runner.github.io/1.0/config/configuration-file.html - -module.exports = config => { - config.set({ - basePath: '', - frameworks: ['jasmine', '@angular-devkit/build-angular'], - plugins: [ - require('karma-jasmine'), - require('karma-chrome-launcher'), - require('karma-jasmine-html-reporter'), - require('karma-coverage'), - require('@angular-devkit/build-angular/plugins/karma') - ], - client: { - jasmine: { - // you can add configuration options for Jasmine here - // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html - // for example, you can disable the random execution with `random: false` - // or set a specific seed with `seed: 4321` - }, - clearContext: false // leave Jasmine Spec Runner output visible in browser - }, - jasmineHtmlReporter: { - suppressAll: true // removes the duplicated traces - }, - coverageReporter: { - dir: require('path').join(__dirname, '../../coverage/user-card'), - subdir: '.', - reporters: [ - { type: 'html' }, - { type: 'text-summary' } - ] - }, - reporters: ['progress', 'kjhtml'], - port: 9876, - colors: true, - logLevel: config.LOG_INFO, - autoWatch: true, - browsers: ['Chrome'], - singleRun: false, - failOnEmptyTestSuite: false, - restartOnFileChange: true - }); -}; diff --git a/projects/user-card/src/test.ts b/projects/user-card/src/test.ts deleted file mode 100644 index e95c0dbe..00000000 --- a/projects/user-card/src/test.ts +++ /dev/null @@ -1,16 +0,0 @@ -// This file is required by karma.conf.js and loads recursively all the .spec and framework files - -import 'zone.js'; -import 'zone.js/testing'; - -import { getTestBed } from '@angular/core/testing'; -import { - BrowserDynamicTestingModule, - platformBrowserDynamicTesting -} from '@angular/platform-browser-dynamic/testing'; - -// First, initialize the Angular testing environment. -getTestBed().initTestEnvironment( - BrowserDynamicTestingModule, - platformBrowserDynamicTesting() -); diff --git a/projects/user-card/tsconfig.lib.json b/projects/user-card/tsconfig.lib.json index 599bb9f4..b4be8aa7 100644 --- a/projects/user-card/tsconfig.lib.json +++ b/projects/user-card/tsconfig.lib.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.base.json", "compilerOptions": { @@ -9,7 +10,6 @@ "types": [] }, "exclude": [ - "src/test.ts", "**/*.spec.ts" ] } diff --git a/projects/user-card/tsconfig.lib.prod.json b/projects/user-card/tsconfig.lib.prod.json index 560c2391..e8500081 100644 --- a/projects/user-card/tsconfig.lib.prod.json +++ b/projects/user-card/tsconfig.lib.prod.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "./tsconfig.lib.json", "compilerOptions": { diff --git a/projects/user-card/tsconfig.spec.json b/projects/user-card/tsconfig.spec.json index 3823c756..fb6c59bd 100644 --- a/projects/user-card/tsconfig.spec.json +++ b/projects/user-card/tsconfig.spec.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.json", "compilerOptions": { @@ -7,9 +8,6 @@ "jasmine" ] }, - "files": [ - "src/test.ts" - ], "include": [ "**/*.spec.ts", "**/*.d.ts" diff --git a/projects/user-tooltip/karma.conf.js b/projects/user-tooltip/karma.conf.js deleted file mode 100644 index 2e574898..00000000 --- a/projects/user-tooltip/karma.conf.js +++ /dev/null @@ -1,45 +0,0 @@ -// Karma configuration file, see link for more information -// https://karma-runner.github.io/1.0/config/configuration-file.html - -module.exports = config => { - config.set({ - basePath: '', - frameworks: ['jasmine', '@angular-devkit/build-angular'], - plugins: [ - require('karma-jasmine'), - require('karma-chrome-launcher'), - require('karma-jasmine-html-reporter'), - require('karma-coverage'), - require('@angular-devkit/build-angular/plugins/karma') - ], - client: { - jasmine: { - // you can add configuration options for Jasmine here - // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html - // for example, you can disable the random execution with `random: false` - // or set a specific seed with `seed: 4321` - }, - clearContext: false // leave Jasmine Spec Runner output visible in browser - }, - jasmineHtmlReporter: { - suppressAll: true // removes the duplicated traces - }, - coverageReporter: { - dir: require('path').join(__dirname, '../../coverage/user-tooltip'), - subdir: '.', - reporters: [ - { type: 'html' }, - { type: 'text-summary' } - ] - }, - reporters: ['progress', 'kjhtml'], - port: 9876, - colors: true, - logLevel: config.LOG_INFO, - autoWatch: true, - browsers: ['Chrome'], - singleRun: false, - failOnEmptyTestSuite: false, - restartOnFileChange: true - }); -}; diff --git a/projects/user-tooltip/src/test.ts b/projects/user-tooltip/src/test.ts deleted file mode 100644 index e95c0dbe..00000000 --- a/projects/user-tooltip/src/test.ts +++ /dev/null @@ -1,16 +0,0 @@ -// This file is required by karma.conf.js and loads recursively all the .spec and framework files - -import 'zone.js'; -import 'zone.js/testing'; - -import { getTestBed } from '@angular/core/testing'; -import { - BrowserDynamicTestingModule, - platformBrowserDynamicTesting -} from '@angular/platform-browser-dynamic/testing'; - -// First, initialize the Angular testing environment. -getTestBed().initTestEnvironment( - BrowserDynamicTestingModule, - platformBrowserDynamicTesting() -); diff --git a/projects/user-tooltip/tsconfig.lib.json b/projects/user-tooltip/tsconfig.lib.json index 599bb9f4..b4be8aa7 100644 --- a/projects/user-tooltip/tsconfig.lib.json +++ b/projects/user-tooltip/tsconfig.lib.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.base.json", "compilerOptions": { @@ -9,7 +10,6 @@ "types": [] }, "exclude": [ - "src/test.ts", "**/*.spec.ts" ] } diff --git a/projects/user-tooltip/tsconfig.lib.prod.json b/projects/user-tooltip/tsconfig.lib.prod.json index 560c2391..e8500081 100644 --- a/projects/user-tooltip/tsconfig.lib.prod.json +++ b/projects/user-tooltip/tsconfig.lib.prod.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "./tsconfig.lib.json", "compilerOptions": { diff --git a/projects/user-tooltip/tsconfig.spec.json b/projects/user-tooltip/tsconfig.spec.json index 3823c756..fb6c59bd 100644 --- a/projects/user-tooltip/tsconfig.spec.json +++ b/projects/user-tooltip/tsconfig.spec.json @@ -1,4 +1,5 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { "extends": "../../tsconfig.json", "compilerOptions": { @@ -7,9 +8,6 @@ "jasmine" ] }, - "files": [ - "src/test.ts" - ], "include": [ "**/*.spec.ts", "**/*.d.ts" diff --git a/scripts/new-package/files/project/karma.conf.js.template b/scripts/new-package/files/project/karma.conf.js.template deleted file mode 100644 index 602a92c5..00000000 --- a/scripts/new-package/files/project/karma.conf.js.template +++ /dev/null @@ -1,45 +0,0 @@ -// Karma configuration file, see link for more information -// https://karma-runner.github.io/1.0/config/configuration-file.html - -module.exports = config => { - config.set({ - basePath: '', - frameworks: ['jasmine', '@angular-devkit/build-angular'], - plugins: [ - require('karma-jasmine'), - require('karma-chrome-launcher'), - require('karma-jasmine-html-reporter'), - require('karma-coverage'), - require('@angular-devkit/build-angular/plugins/karma') - ], - client: { - jasmine: { - // you can add configuration options for Jasmine here - // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html - // for example, you can disable the random execution with `random: false` - // or set a specific seed with `seed: 4321` - }, - clearContext: false // leave Jasmine Spec Runner output visible in browser - }, - jasmineHtmlReporter: { - suppressAll: true // removes the duplicated traces - }, - coverageReporter: { - dir: require('path').join(__dirname, '../../coverage/<%= libName %>'), - subdir: '.', - reporters: [ - { type: 'html' }, - { type: 'text-summary' } - ] - }, - reporters: ['progress', 'kjhtml'], - port: 9876, - colors: true, - logLevel: config.LOG_INFO, - autoWatch: true, - browsers: ['Chrome'], - singleRun: false, - failOnEmptyTestSuite: false, - restartOnFileChange: true - }); -}; diff --git a/tsconfig.base.json b/tsconfig.base.json index 3db04317..5bcb8887 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -3,22 +3,23 @@ "compileOnSave": false, "compilerOptions": { "baseUrl": ".", - "forceConsistentCasingInFileNames": true, "strict": true, "noImplicitOverride": true, "noPropertyAccessFromIndexSignature": true, "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, + "skipLibCheck": true, + "isolatedModules": true, + "esModuleInterop": true, "sourceMap": true, "declaration": false, - "downlevelIteration": true, "experimentalDecorators": true, - "moduleResolution": "node", + "moduleResolution": "bundler", "importHelpers": true, - "target": "es2020", - "module": "es2020", + "target": "ES2022", + "module": "ES2022", "lib": [ - "es2020", + "ES2022", "dom" ], "paths": {