Total Complexity | 3 |
Complexity/F | 1 |
Lines of Code | 28 |
Function Count | 3 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | // Protractor configuration file, see link for more information |
||
5 | var SpecReporter = require('jasmine-spec-reporter'); |
||
6 | |||
7 | exports.config = { |
||
8 | allScriptsTimeout: 11000, |
||
9 | specs: [ |
||
10 | './e2e/**/*.e2e-spec.ts' |
||
11 | ], |
||
12 | capabilities: { |
||
13 | 'browserName': 'chrome' |
||
14 | }, |
||
15 | directConnect: true, |
||
16 | baseUrl: 'http://localhost:4200/', |
||
17 | framework: 'jasmine', |
||
18 | jasmineNodeOpts: { |
||
19 | showColors: true, |
||
20 | defaultTimeoutInterval: 30000, |
||
21 | print: function() {} |
||
22 | }, |
||
23 | useAllAngular2AppRoots: true, |
||
24 | beforeLaunch: function() { |
||
25 | require('ts-node').register({ |
||
26 | project: 'e2e' |
||
27 | }); |
||
28 | }, |
||
29 | onPrepare: function() { |
||
30 | jasmine.getEnv().addReporter(new SpecReporter()); |
||
31 | } |
||
32 | }; |
||
33 |