test: remove typescript 2.9 and 3.0 typings tests (#26151)
We no longer support these versions and the tests actually break with the output from 3.1 (at least in the case of tsc 2.9) PR Close #26151
This commit is contained in:
parent
9993c72335
commit
86e6a2099a
|
@ -1,49 +0,0 @@
|
||||||
/**
|
|
||||||
* @license
|
|
||||||
* Copyright Google Inc. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by an MIT-style license that can be
|
|
||||||
* found in the LICENSE file at https://angular.io/license
|
|
||||||
*/
|
|
||||||
|
|
||||||
import * as compiler from '@angular/compiler';
|
|
||||||
import * as compilerTesting from '@angular/compiler/testing';
|
|
||||||
import * as core from '@angular/core';
|
|
||||||
import * as coreTesting from '@angular/core/testing';
|
|
||||||
import * as elements from '@angular/elements';
|
|
||||||
import * as forms from '@angular/forms';
|
|
||||||
import * as http from '@angular/http';
|
|
||||||
import * as httpTesting from '@angular/http/testing';
|
|
||||||
import * as platformBrowser from '@angular/platform-browser';
|
|
||||||
import * as platformBrowserTesting from '@angular/platform-browser/testing';
|
|
||||||
import * as platformBrowserDynamic from '@angular/platform-browser-dynamic';
|
|
||||||
import * as platformServer from '@angular/platform-server';
|
|
||||||
import * as platformServerTesting from '@angular/platform-server/testing';
|
|
||||||
import * as platformWebworker from '@angular/platform-webworker';
|
|
||||||
import * as platformWebworkerDynamic from '@angular/platform-webworker-dynamic';
|
|
||||||
import * as router from '@angular/router';
|
|
||||||
import * as routerTesting from '@angular/router/testing';
|
|
||||||
import * as serviceWorker from '@angular/service-worker';
|
|
||||||
import * as upgrade from '@angular/upgrade';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
compiler,
|
|
||||||
compilerTesting,
|
|
||||||
core,
|
|
||||||
coreTesting,
|
|
||||||
elements,
|
|
||||||
forms,
|
|
||||||
http,
|
|
||||||
httpTesting,
|
|
||||||
platformBrowser,
|
|
||||||
platformBrowserTesting,
|
|
||||||
platformBrowserDynamic,
|
|
||||||
platformServer,
|
|
||||||
platformServerTesting,
|
|
||||||
platformWebworker,
|
|
||||||
platformWebworkerDynamic,
|
|
||||||
router,
|
|
||||||
routerTesting,
|
|
||||||
serviceWorker,
|
|
||||||
upgrade,
|
|
||||||
};
|
|
|
@ -1,31 +0,0 @@
|
||||||
{
|
|
||||||
"name": "angular-integration",
|
|
||||||
"description": "Assert that users with TypeScript 2.9 can type-check an Angular application",
|
|
||||||
"version": "0.0.0",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"@angular/animations": "file:../../dist/packages-dist/animations",
|
|
||||||
"@angular/common": "file:../../dist/packages-dist/common",
|
|
||||||
"@angular/compiler": "file:../../dist/packages-dist/compiler",
|
|
||||||
"@angular/compiler-cli": "file:../../dist/packages-dist/compiler-cli",
|
|
||||||
"@angular/core": "file:../../dist/packages-dist/core",
|
|
||||||
"@angular/elements": "file:../../dist/packages-dist/elements",
|
|
||||||
"@angular/forms": "file:../../dist/packages-dist/forms",
|
|
||||||
"@angular/http": "file:../../dist/packages-dist/http",
|
|
||||||
"@angular/platform-browser": "file:../../dist/packages-dist/platform-browser",
|
|
||||||
"@angular/platform-browser-dynamic": "file:../../dist/packages-dist/platform-browser-dynamic",
|
|
||||||
"@angular/platform-server": "file:../../dist/packages-dist/platform-server",
|
|
||||||
"@angular/platform-webworker": "file:../../dist/packages-dist/platform-webworker",
|
|
||||||
"@angular/platform-webworker-dynamic": "file:../../dist/packages-dist/platform-webworker-dynamic",
|
|
||||||
"@angular/router": "file:../../dist/packages-dist/router",
|
|
||||||
"@angular/service-worker": "file:../../dist/packages-dist/service-worker",
|
|
||||||
"@angular/upgrade": "file:../../dist/packages-dist/upgrade",
|
|
||||||
"@types/jasmine": "2.5.41",
|
|
||||||
"rxjs": "file:../../node_modules/rxjs",
|
|
||||||
"typescript": "2.9.x",
|
|
||||||
"zone.js": "file:../../node_modules/zone.js"
|
|
||||||
},
|
|
||||||
"scripts": {
|
|
||||||
"test": "tsc"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,24 +0,0 @@
|
||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"emitDecoratorMetadata": true,
|
|
||||||
"experimentalDecorators": true,
|
|
||||||
"module": "commonjs",
|
|
||||||
"moduleResolution": "node",
|
|
||||||
"outDir": "../../dist/typings_test_ts28/",
|
|
||||||
"rootDir": ".",
|
|
||||||
"target": "es5",
|
|
||||||
"lib": [
|
|
||||||
"es5",
|
|
||||||
"dom",
|
|
||||||
"es2015.collection",
|
|
||||||
"es2015.iterable",
|
|
||||||
"es2015.promise"
|
|
||||||
],
|
|
||||||
"types": [],
|
|
||||||
"strictNullChecks": true
|
|
||||||
},
|
|
||||||
"files": [
|
|
||||||
"include-all.ts",
|
|
||||||
"node_modules/@types/jasmine/index.d.ts"
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,49 +0,0 @@
|
||||||
/**
|
|
||||||
* @license
|
|
||||||
* Copyright Google Inc. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by an MIT-style license that can be
|
|
||||||
* found in the LICENSE file at https://angular.io/license
|
|
||||||
*/
|
|
||||||
|
|
||||||
import * as compiler from '@angular/compiler';
|
|
||||||
import * as compilerTesting from '@angular/compiler/testing';
|
|
||||||
import * as core from '@angular/core';
|
|
||||||
import * as coreTesting from '@angular/core/testing';
|
|
||||||
import * as elements from '@angular/elements';
|
|
||||||
import * as forms from '@angular/forms';
|
|
||||||
import * as http from '@angular/http';
|
|
||||||
import * as httpTesting from '@angular/http/testing';
|
|
||||||
import * as platformBrowser from '@angular/platform-browser';
|
|
||||||
import * as platformBrowserTesting from '@angular/platform-browser/testing';
|
|
||||||
import * as platformBrowserDynamic from '@angular/platform-browser-dynamic';
|
|
||||||
import * as platformServer from '@angular/platform-server';
|
|
||||||
import * as platformServerTesting from '@angular/platform-server/testing';
|
|
||||||
import * as platformWebworker from '@angular/platform-webworker';
|
|
||||||
import * as platformWebworkerDynamic from '@angular/platform-webworker-dynamic';
|
|
||||||
import * as router from '@angular/router';
|
|
||||||
import * as routerTesting from '@angular/router/testing';
|
|
||||||
import * as serviceWorker from '@angular/service-worker';
|
|
||||||
import * as upgrade from '@angular/upgrade';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
compiler,
|
|
||||||
compilerTesting,
|
|
||||||
core,
|
|
||||||
coreTesting,
|
|
||||||
elements,
|
|
||||||
forms,
|
|
||||||
http,
|
|
||||||
httpTesting,
|
|
||||||
platformBrowser,
|
|
||||||
platformBrowserTesting,
|
|
||||||
platformBrowserDynamic,
|
|
||||||
platformServer,
|
|
||||||
platformServerTesting,
|
|
||||||
platformWebworker,
|
|
||||||
platformWebworkerDynamic,
|
|
||||||
router,
|
|
||||||
routerTesting,
|
|
||||||
serviceWorker,
|
|
||||||
upgrade,
|
|
||||||
};
|
|
|
@ -1,31 +0,0 @@
|
||||||
{
|
|
||||||
"name": "angular-integration",
|
|
||||||
"description": "Assert that users with TypeScript 3.0 can type-check an Angular application",
|
|
||||||
"version": "0.0.0",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"@angular/animations": "file:../../dist/packages-dist/animations",
|
|
||||||
"@angular/common": "file:../../dist/packages-dist/common",
|
|
||||||
"@angular/compiler": "file:../../dist/packages-dist/compiler",
|
|
||||||
"@angular/compiler-cli": "file:../../dist/packages-dist/compiler-cli",
|
|
||||||
"@angular/core": "file:../../dist/packages-dist/core",
|
|
||||||
"@angular/elements": "file:../../dist/packages-dist/elements",
|
|
||||||
"@angular/forms": "file:../../dist/packages-dist/forms",
|
|
||||||
"@angular/http": "file:../../dist/packages-dist/http",
|
|
||||||
"@angular/platform-browser": "file:../../dist/packages-dist/platform-browser",
|
|
||||||
"@angular/platform-browser-dynamic": "file:../../dist/packages-dist/platform-browser-dynamic",
|
|
||||||
"@angular/platform-server": "file:../../dist/packages-dist/platform-server",
|
|
||||||
"@angular/platform-webworker": "file:../../dist/packages-dist/platform-webworker",
|
|
||||||
"@angular/platform-webworker-dynamic": "file:../../dist/packages-dist/platform-webworker-dynamic",
|
|
||||||
"@angular/router": "file:../../dist/packages-dist/router",
|
|
||||||
"@angular/service-worker": "file:../../dist/packages-dist/service-worker",
|
|
||||||
"@angular/upgrade": "file:../../dist/packages-dist/upgrade",
|
|
||||||
"@types/jasmine": "2.5.41",
|
|
||||||
"rxjs": "file:../../node_modules/rxjs",
|
|
||||||
"typescript": "3.0.x",
|
|
||||||
"zone.js": "file:../../node_modules/zone.js"
|
|
||||||
},
|
|
||||||
"scripts": {
|
|
||||||
"test": "tsc"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,24 +0,0 @@
|
||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"emitDecoratorMetadata": true,
|
|
||||||
"experimentalDecorators": true,
|
|
||||||
"module": "commonjs",
|
|
||||||
"moduleResolution": "node",
|
|
||||||
"outDir": "../../dist/typings_test_ts30/",
|
|
||||||
"rootDir": ".",
|
|
||||||
"target": "es5",
|
|
||||||
"lib": [
|
|
||||||
"es5",
|
|
||||||
"dom",
|
|
||||||
"es2015.collection",
|
|
||||||
"es2015.iterable",
|
|
||||||
"es2015.promise"
|
|
||||||
],
|
|
||||||
"types": [],
|
|
||||||
"strictNullChecks": true
|
|
||||||
},
|
|
||||||
"files": [
|
|
||||||
"include-all.ts",
|
|
||||||
"node_modules/@types/jasmine/index.d.ts"
|
|
||||||
]
|
|
||||||
}
|
|
Loading…
Reference in New Issue