Commit b978a83f75e21d6df8a01cc0755858ae997e65ce
1 parent
5750fd4971
Exists in
master
Linea al final
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
browserslist
| 1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below. | 1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below. |
| 2 | # For additional information regarding the format and rule options, please see: | 2 | # For additional information regarding the format and rule options, please see: |
| 3 | # https://github.com/browserslist/browserslist#queries | 3 | # https://github.com/browserslist/browserslist#queries |
| 4 | 4 | ||
| 5 | # You can see what browsers were selected by your queries by running: | 5 | # You can see what browsers were selected by your queries by running: |
| 6 | # npx browserslist | 6 | # npx browserslist |
| 7 | 7 | ||
| 8 | > 0.5% | 8 | > 0.5% |
| 9 | last 2 versions | 9 | last 2 versions |
| 10 | Firefox ESR | 10 | Firefox ESR |
| 11 | not dead | 11 | not dead |
| 12 | not IE 9-11 # For IE 9-11 support, remove 'not'. | ||
| 12 | not IE 9-11 # For IE 9-11 support, remove 'not'. |
e2e/protractor.conf.js
| 1 | // @ts-check | 1 | // @ts-check |
| 2 | // Protractor configuration file, see link for more information | 2 | // Protractor configuration file, see link for more information |
| 3 | // https://github.com/angular/protractor/blob/master/lib/config.ts | 3 | // https://github.com/angular/protractor/blob/master/lib/config.ts |
| 4 | 4 | ||
| 5 | const { SpecReporter } = require('jasmine-spec-reporter'); | 5 | const { SpecReporter } = require('jasmine-spec-reporter'); |
| 6 | 6 | ||
| 7 | /** | 7 | /** |
| 8 | * @type { import("protractor").Config } | 8 | * @type { import("protractor").Config } |
| 9 | */ | 9 | */ |
| 10 | exports.config = { | 10 | exports.config = { |
| 11 | allScriptsTimeout: 11000, | 11 | allScriptsTimeout: 11000, |
| 12 | specs: [ | 12 | specs: [ |
| 13 | './src/**/*.e2e-spec.ts' | 13 | './src/**/*.e2e-spec.ts' |
| 14 | ], | 14 | ], |
| 15 | capabilities: { | 15 | capabilities: { |
| 16 | 'browserName': 'chrome' | 16 | 'browserName': 'chrome' |
| 17 | }, | 17 | }, |
| 18 | directConnect: true, | 18 | directConnect: true, |
| 19 | baseUrl: 'http://localhost:4200/', | 19 | baseUrl: 'http://localhost:4200/', |
| 20 | framework: 'jasmine', | 20 | framework: 'jasmine', |
| 21 | jasmineNodeOpts: { | 21 | jasmineNodeOpts: { |
| 22 | showColors: true, | 22 | showColors: true, |
| 23 | defaultTimeoutInterval: 30000, | 23 | defaultTimeoutInterval: 30000, |
| 24 | print: function() {} | 24 | print: function() {} |
| 25 | }, | 25 | }, |
| 26 | onPrepare() { | 26 | onPrepare() { |
| 27 | require('ts-node').register({ | 27 | require('ts-node').register({ |
| 28 | project: require('path').join(__dirname, './tsconfig.json') | 28 | project: require('path').join(__dirname, './tsconfig.json') |
| 29 | }); | 29 | }); |
| 30 | jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } })); | 30 | jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } })); |
| 31 | } | 31 | } |
| 32 | }; | ||
| 32 | }; |