Mercurial > hg > ugly-duckling
view protractor.conf.js @ 235:76f2cd2c5a68
Refactor the root component to push the app state down to children.
Currently using an ad-hoc container with similar interface as array used previously. not thought out.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Mon, 24 Apr 2017 17:05:12 +0100 |
parents | 340ce94899fd |
children | 53ea6406d601 |
line wrap: on
line source
// Protractor configuration file, see link for more information // https://github.com/angular/protractor/blob/master/docs/referenceConf.js /*global jasmine */ var SpecReporter = require('jasmine-spec-reporter'); exports.config = { allScriptsTimeout: 11000, specs: [ './e2e/**/*.e2e-spec.ts' ], capabilities: { 'browserName': 'chrome' }, directConnect: true, baseUrl: 'http://localhost:4200/', framework: 'jasmine', jasmineNodeOpts: { showColors: true, defaultTimeoutInterval: 30000, print: function() {} }, useAllAngular2AppRoots: true, beforeLaunch: function() { require('ts-node').register({ project: 'e2e' }); }, onPrepare: function() { jasmine.getEnv().addReporter(new SpecReporter()); } };