docs: update docs example dependencies to version 8 (#30385)

PR Close #30385
This commit is contained in:
Brandon Roberts
2019-05-09 15:56:24 -05:00
committed by Jason Aden
parent 660a091f41
commit 661a57d9e2
45 changed files with 1743 additions and 2081 deletions

View File

@ -1,15 +1,19 @@
// @ts-check
// Protractor configuration file, see link for more information
// https://github.com/angular/protractor/blob/master/lib/config.ts
const { SpecReporter } = require('jasmine-spec-reporter');
/**
* @type { import("protractor").Config }
*/
exports.config = {
allScriptsTimeout: 11000,
specs: [
'./src/**/*.e2e-spec.ts'
],
capabilities: {
'browserName': 'chrome',
'browserName': 'chrome'
},
directConnect: true,
baseUrl: 'http://localhost:4200/',
@ -21,7 +25,7 @@ exports.config = {
},
onPrepare() {
require('ts-node').register({
project: require('path').join(__dirname, './tsconfig.e2e.json')
project: require('path').join(__dirname, './tsconfig.json')
});
jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
}