diff --git a/ponyracer/package.json b/ponyracer/package.json index fe9c9b16d..a18d01249 100644 --- a/ponyracer/package.json +++ b/ponyracer/package.json @@ -10,23 +10,23 @@ }, "private": true, "dependencies": { - "@angular/animations": "~12.2.0-next.0", - "@angular/common": "~12.2.0-next.0", - "@angular/compiler": "~12.2.0-next.0", - "@angular/core": "~12.2.0-next.0", - "@angular/forms": "~12.2.0-next.0", - "@angular/platform-browser": "~12.2.0-next.0", - "@angular/platform-browser-dynamic": "~12.2.0-next.0", - "@angular/router": "~12.2.0-next.0", + "@angular/animations": "~12.2.0-next.2", + "@angular/common": "~12.2.0-next.2", + "@angular/compiler": "~12.2.0-next.2", + "@angular/core": "~12.2.0-next.2", + "@angular/forms": "~12.2.0-next.2", + "@angular/platform-browser": "~12.2.0-next.2", + "@angular/platform-browser-dynamic": "~12.2.0-next.2", + "@angular/router": "~12.2.0-next.2", "rxjs": "~6.6.0", "tslib": "^2.2.0", "zone.js": "~0.11.4" }, "devDependencies": { - "@angular-devkit/build-angular": "~12.2.0-next.0", - "@angular/cli": "~12.2.0-next.0", - "@angular/compiler-cli": "~12.2.0-next.0", - "@types/jasmine": "~3.6.0", + "@angular-devkit/build-angular": "~12.2.0-next.2", + "@angular/cli": "~12.2.0-next.2", + "@angular/compiler-cli": "~12.2.0-next.2", + "@types/jasmine": "~3.8.0", "@types/node": "^12.11.1", "jasmine-core": "~3.8.0", "karma": "~6.3.0", diff --git a/ponyracer/src/test.ts b/ponyracer/src/test.ts index 204235640..b4dd6032f 100644 --- a/ponyracer/src/test.ts +++ b/ponyracer/src/test.ts @@ -17,8 +17,10 @@ declare const require: { // First, initialize the Angular testing environment. getTestBed().initTestEnvironment( BrowserDynamicTestingModule, - platformBrowserDynamicTesting() + platformBrowserDynamicTesting(), + { teardown: { destroyAfterEach: true }}, ); + // Then we find all the tests. const context = require.context('./', true, /\.spec\.ts$/); // And load the modules.