diff --git a/ponyracer/README.md b/ponyracer/README.md index a25149e..a2b1359 100644 --- a/ponyracer/README.md +++ b/ponyracer/README.md @@ -1,6 +1,6 @@ # Ponyracer -This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.0.0-next.3. +This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.0.0-next.4. ## Development server diff --git a/ponyracer/angular.json b/ponyracer/angular.json index 116731f..a97e45f 100644 --- a/ponyracer/angular.json +++ b/ponyracer/angular.json @@ -31,8 +31,7 @@ "polyfills": [ "zone.js", "zone.js/testing" - ], - "karmaConfig": "projects/ponyracer-lib/karma.conf.js" + ] } } } diff --git a/ponyracer/package.json b/ponyracer/package.json index 2995d37..629f20e 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/projects/ponyracer-lib/karma.conf.js b/ponyracer/projects/ponyracer-lib/karma.conf.js deleted file mode 100644 index eaf42c8..0000000 --- a/ponyracer/projects/ponyracer-lib/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-lib'), - 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/projects/ponyracer-lib/src/lib/ponyracer-lib.component.ts b/ponyracer/projects/ponyracer-lib/src/lib/ponyracer-lib.component.ts index 8cb86e1..169d499 100644 --- a/ponyracer/projects/ponyracer-lib/src/lib/ponyracer-lib.component.ts +++ b/ponyracer/projects/ponyracer-lib/src/lib/ponyracer-lib.component.ts @@ -1,4 +1,4 @@ -import { Component, OnInit } from '@angular/core'; +import { Component } from '@angular/core'; @Component({ selector: 'lib-ponyracer-lib', @@ -10,11 +10,6 @@ import { Component, OnInit } from '@angular/core'; styles: [ ] }) -export class PonyracerLibComponent implements OnInit { - - constructor() { } - - ngOnInit(): void { - } +export class PonyracerLibComponent { }