Mercurial > hg > ugly-duckling
view protractor.conf.js @ 93:8f2b2aed0df1
Update cli config to conform to latest version, needed to move around my worker bootstrapping bodge. Angular-cli for some reason now includes global scripts as strings in the webpack bundle, and they are eval'ed. So TypeScript no longer gets compiled. So once again I chase the mouse, re-purposing the new polyfill field to compile and bundle externals.ts once more!
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Thu, 23 Feb 2017 22:15:52 +0000 |
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()); } };