build(aio): move test config and e2e tests into subfolders (#21763)

This is in preparation of putting firebase and service worker
deployment tests into the project.

PR Close #21763
This commit is contained in:
Pete Bacon Darwin 2018-01-24 14:21:38 +00:00 committed by Alex Rickabaugh
parent 447783e575
commit 339ca83f9d
8 changed files with 7 additions and 7 deletions

View File

@ -39,7 +39,7 @@
],
"e2e": {
"protractor": {
"config": "./protractor.conf.js"
"config": "tests/e2e/protractor.conf.js"
}
},
"lint": [
@ -50,12 +50,12 @@
"project": "src/tsconfig.spec.json"
},
{
"project": "e2e/tsconfig.e2e.json"
"project": "tests/e2e/tsconfig.e2e.json"
}
],
"test": {
"karma": {
"config": "./karma.conf.js"
"config": "src/karma.conf.js"
}
},
"defaults": {

View File

@ -6,7 +6,7 @@ const { SpecReporter } = require('jasmine-spec-reporter');
exports.config = {
allScriptsTimeout: 11000,
specs: [
'./e2e/**/*.e2e-spec.ts'
'./*.e2e-spec.ts'
],
capabilities: {
browserName: 'chrome',
@ -26,7 +26,7 @@ exports.config = {
},
beforeLaunch: function() {
require('ts-node').register({
project: 'e2e/tsconfig.e2e.json'
project: 'tests/e2e/tsconfig.e2e.json'
});
},
onPrepare() {

View File

@ -1,7 +1,7 @@
{
"extends": "../tsconfig.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/e2e",
"outDir": "../../out-tsc/e2e",
"baseUrl": "./",
"module": "commonjs",
"target": "es5",