From 1bb9a9e483f9f75cffd1d2faa4822d0cb97c6214 Mon Sep 17 00:00:00 2001 From: cexbrayat Date: Thu, 22 Sep 2022 01:57:52 +0000 Subject: [PATCH] chore: version 15.0.0-next.2 --- ponyracer/README.md | 2 +- ponyracer/package.json | 4 ++-- ponyracer/projects/ponyracer-lib/src/test.ts | 8 ++++---- ponyracer/tsconfig.json | 7 ++++--- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/ponyracer/README.md b/ponyracer/README.md index 8b5ad83..1a5afe0 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.1. +This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.0.0-next.2. ## Development server diff --git a/ponyracer/package.json b/ponyracer/package.json index 5048b75..b10e81f 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.1", - "@angular/cli": "~15.0.0-next.1", + "@angular-devkit/build-angular": "^15.0.0-next.2", + "@angular/cli": "~15.0.0-next.2", "@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/src/test.ts b/ponyracer/projects/ponyracer-lib/src/test.ts index 5775317..29e4db3 100644 --- a/ponyracer/projects/ponyracer-lib/src/test.ts +++ b/ponyracer/projects/ponyracer-lib/src/test.ts @@ -16,10 +16,10 @@ declare const require: { }; // First, initialize the Angular testing environment. -getTestBed().initTestEnvironment( - BrowserDynamicTestingModule, - platformBrowserDynamicTesting(), -); +getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting(), { + errorOnUnknownElements: true, + errorOnUnknownProperties: true +}); // Then we find all the tests. const context = require.context('./', true, /\.spec\.ts$/); diff --git a/ponyracer/tsconfig.json b/ponyracer/tsconfig.json index 0fb36cc..b67c4b9 100644 --- a/ponyracer/tsconfig.json +++ b/ponyracer/tsconfig.json @@ -21,10 +21,11 @@ "dist/ponyracer-lib" ] }, - "target": "es2020", - "module": "es2020", + "target": "ES2022", + "module": "ES2022", + "useDefineForClassFields": false, "lib": [ - "es2020", + "ES2022", "dom" ] },