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:
parent
447783e575
commit
339ca83f9d
@ -39,7 +39,7 @@
|
|||||||
],
|
],
|
||||||
"e2e": {
|
"e2e": {
|
||||||
"protractor": {
|
"protractor": {
|
||||||
"config": "./protractor.conf.js"
|
"config": "tests/e2e/protractor.conf.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint": [
|
"lint": [
|
||||||
@ -50,12 +50,12 @@
|
|||||||
"project": "src/tsconfig.spec.json"
|
"project": "src/tsconfig.spec.json"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"project": "e2e/tsconfig.e2e.json"
|
"project": "tests/e2e/tsconfig.e2e.json"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"test": {
|
"test": {
|
||||||
"karma": {
|
"karma": {
|
||||||
"config": "./karma.conf.js"
|
"config": "src/karma.conf.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"defaults": {
|
"defaults": {
|
||||||
|
@ -6,7 +6,7 @@ const { SpecReporter } = require('jasmine-spec-reporter');
|
|||||||
exports.config = {
|
exports.config = {
|
||||||
allScriptsTimeout: 11000,
|
allScriptsTimeout: 11000,
|
||||||
specs: [
|
specs: [
|
||||||
'./e2e/**/*.e2e-spec.ts'
|
'./*.e2e-spec.ts'
|
||||||
],
|
],
|
||||||
capabilities: {
|
capabilities: {
|
||||||
browserName: 'chrome',
|
browserName: 'chrome',
|
||||||
@ -26,7 +26,7 @@ exports.config = {
|
|||||||
},
|
},
|
||||||
beforeLaunch: function() {
|
beforeLaunch: function() {
|
||||||
require('ts-node').register({
|
require('ts-node').register({
|
||||||
project: 'e2e/tsconfig.e2e.json'
|
project: 'tests/e2e/tsconfig.e2e.json'
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
onPrepare() {
|
onPrepare() {
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"extends": "../tsconfig.json",
|
"extends": "../../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "../out-tsc/e2e",
|
"outDir": "../../out-tsc/e2e",
|
||||||
"baseUrl": "./",
|
"baseUrl": "./",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"target": "es5",
|
"target": "es5",
|
Loading…
x
Reference in New Issue
Block a user