build(docs-infra): upgrade @angular/cli to 8.0.0-beta.18 (#29926)
This commit also changes the config files and their layout to (reasonably closely) match what the cli would generate for a new app. Related Jira issue: [TOOL-815](https://angular-team.atlassian.net/browse/TOOL-815) PR Close #29926
This commit is contained in:

committed by
Andrew Kushnir

parent
b8298f1b2d
commit
6c1ae294dc
@ -1,6 +1,10 @@
|
||||
// @ts-check
|
||||
// Protractor configuration file, see link for more information
|
||||
// https://github.com/angular/protractor/blob/master/lib/config.ts
|
||||
|
||||
/**
|
||||
* @type { import("protractor").Config }
|
||||
*/
|
||||
exports.config = {
|
||||
allScriptsTimeout: 11000,
|
||||
suites: {
|
||||
@ -23,8 +27,10 @@ exports.config = {
|
||||
legacyUrls: [],
|
||||
},
|
||||
beforeLaunch() {
|
||||
const {join} = require('path');
|
||||
const {register} = require('ts-node');
|
||||
register({});
|
||||
|
||||
register({project: join(__dirname, './tsconfig.json')});
|
||||
},
|
||||
onPrepare() {
|
||||
const {SpecReporter} = require('jasmine-spec-reporter');
|
||||
|
Reference in New Issue
Block a user