mirror of https://github.com/OpenVidu/openvidu.git
openvidu-testapp: updated to Angular 15
parent
7c211bfc53
commit
1161c34cfe
File diff suppressed because it is too large
Load Diff
|
@ -1,16 +1,16 @@
|
||||||
{
|
{
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "14.2.12",
|
"@angular/animations": "15.2.10",
|
||||||
"@angular/cdk": "14.2.7",
|
"@angular/cdk": "14.2.7",
|
||||||
"@angular/common": "14.2.12",
|
"@angular/common": "15.2.10",
|
||||||
"@angular/compiler": "14.2.12",
|
"@angular/compiler": "15.2.10",
|
||||||
"@angular/core": "14.2.12",
|
"@angular/core": "15.2.10",
|
||||||
"@angular/flex-layout": "14.0.0-beta.41",
|
"@angular/flex-layout": "14.0.0-beta.41",
|
||||||
"@angular/forms": "14.2.12",
|
"@angular/forms": "15.2.10",
|
||||||
"@angular/material": "14.2.7",
|
"@angular/material": "14.2.7",
|
||||||
"@angular/platform-browser": "14.2.12",
|
"@angular/platform-browser": "15.2.10",
|
||||||
"@angular/platform-browser-dynamic": "14.2.12",
|
"@angular/platform-browser-dynamic": "15.2.10",
|
||||||
"@angular/router": "14.2.12",
|
"@angular/router": "15.2.10",
|
||||||
"colormap": "2.3.2",
|
"colormap": "2.3.2",
|
||||||
"core-js": "3.26.1",
|
"core-js": "3.26.1",
|
||||||
"json-stringify-safe": "5.0.1",
|
"json-stringify-safe": "5.0.1",
|
||||||
|
@ -21,10 +21,10 @@
|
||||||
"zone.js": "0.12.0"
|
"zone.js": "0.12.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "14.2.10",
|
"@angular-devkit/build-angular": "15.2.11",
|
||||||
"@angular/cli": "14.2.10",
|
"@angular/cli": "15.2.11",
|
||||||
"@angular/compiler-cli": "14.2.12",
|
"@angular/compiler-cli": "15.2.10",
|
||||||
"@angular/language-service": "14.2.12",
|
"@angular/language-service": "15.2.10",
|
||||||
"@types/jasmine": "4.3.0",
|
"@types/jasmine": "4.3.0",
|
||||||
"@types/jasminewd2": "2.0.10",
|
"@types/jasminewd2": "2.0.10",
|
||||||
"@types/json-stringify-safe": "5.0.0",
|
"@types/json-stringify-safe": "5.0.0",
|
||||||
|
|
|
@ -14,7 +14,6 @@ import {
|
||||||
|
|
||||||
// Unfortunately there's no typing for the `__karma__` variable. Just declare it as any.
|
// Unfortunately there's no typing for the `__karma__` variable. Just declare it as any.
|
||||||
declare const __karma__: any;
|
declare const __karma__: any;
|
||||||
declare const require: any;
|
|
||||||
|
|
||||||
// Prevent Karma from running prematurely.
|
// Prevent Karma from running prematurely.
|
||||||
__karma__.loaded = function () {};
|
__karma__.loaded = function () {};
|
||||||
|
@ -24,9 +23,5 @@ getTestBed().initTestEnvironment(
|
||||||
BrowserDynamicTestingModule,
|
BrowserDynamicTestingModule,
|
||||||
platformBrowserDynamicTesting()
|
platformBrowserDynamicTesting()
|
||||||
);
|
);
|
||||||
// Then we find all the tests.
|
|
||||||
const context = require.context('./', true, /\.spec\.ts$/);
|
|
||||||
// And load the modules.
|
|
||||||
context.keys().map(context);
|
|
||||||
// Finally, start Karma to run the tests.
|
// Finally, start Karma to run the tests.
|
||||||
__karma__.start();
|
__karma__.start();
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
"outDir": "../out-tsc/spec",
|
"outDir": "../out-tsc/spec",
|
||||||
"baseUrl": "./",
|
"baseUrl": "./",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"target": "es2020",
|
|
||||||
"types": [
|
"types": [
|
||||||
"jasmine",
|
"jasmine",
|
||||||
"node"
|
"node"
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"emitDecoratorMetadata": true,
|
"emitDecoratorMetadata": true,
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"target": "ES6",
|
"target": "ES2022",
|
||||||
"typeRoots": [
|
"typeRoots": [
|
||||||
"node_modules/@types"
|
"node_modules/@types"
|
||||||
],
|
],
|
||||||
|
@ -16,6 +16,7 @@
|
||||||
"es2017",
|
"es2017",
|
||||||
"dom",
|
"dom",
|
||||||
"ES2021.WeakRef"
|
"ES2021.WeakRef"
|
||||||
]
|
],
|
||||||
|
"useDefineForClassFields": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue