diff --git a/ponyracer/angular.json b/ponyracer/angular.json index 2929e7846..20a3fda98 100644 --- a/ponyracer/angular.json +++ b/ponyracer/angular.json @@ -82,7 +82,6 @@ "zone.js/testing" ], "tsConfig": "tsconfig.spec.json", - "karmaConfig": "karma.conf.js", "assets": [ "src/favicon.ico", "src/assets" diff --git a/ponyracer/karma.conf.js b/ponyracer/karma.conf.js deleted file mode 100644 index 46e1f07df..000000000 --- a/ponyracer/karma.conf.js +++ /dev/null @@ -1,44 +0,0 @@ -// Karma configuration file, see link for more information -// https://karma-runner.github.io/1.0/config/configuration-file.html - -module.exports = function (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/ponyracer'), - subdir: '.', - reporters: [ - { type: 'html' }, - { type: 'text-summary' } - ] - }, - reporters: ['progress', 'kjhtml'], - port: 9876, - colors: true, - logLevel: config.LOG_INFO, - autoWatch: true, - browsers: ['Chrome'], - singleRun: false, - restartOnFileChange: true - }); -}; diff --git a/ponyracer/package.json b/ponyracer/package.json index 599545274..03975cfa3 100644 --- a/ponyracer/package.json +++ b/ponyracer/package.json @@ -23,8 +23,8 @@ "zone.js": "~0.11.4" }, "devDependencies": { - "@angular-devkit/build-angular": "^15.0.0-next.3", - "@angular/cli": "~15.0.0-next.3", + "@angular-devkit/build-angular": "^15.0.0-next.4", + "@angular/cli": "~15.0.0-next.4", "@angular/compiler-cli": "^15.0.0-next.0", "@types/jasmine": "~4.3.0", "jasmine-core": "~4.4.0", diff --git a/ponyracer/src/main.ts b/ponyracer/src/main.ts index e296e796a..c58dc05cb 100644 --- a/ponyracer/src/main.ts +++ b/ponyracer/src/main.ts @@ -1,4 +1,3 @@ - import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { AppModule } from './app/app.module'; @@ -6,4 +5,3 @@ import { AppModule } from './app/app.module'; platformBrowserDynamic().bootstrapModule(AppModule) .catch(err => console.error(err)); -