1 Star 0 Fork 0

409797885@qq.com / angular

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
protractor-examples-e2e.conf.js 1.19 KB
一键复制 编辑 原始数据 按行查看 历史
Victor Berchet 提交于 2016-12-12 11:30 . refactor: format and lint code
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
// Make sure that the command line is read as the first thing
// as this could exit node if the help script should be printed.
require('./dist/all/e2e_util/e2e_util').readCommandLine();
require('reflect-metadata');
Error.stackTraceLimit = 9999;
var BROWSER_OPTIONS = {
LocalChrome: {'browserName': 'chrome'},
ChromeOnTravis: {
browserName: 'chrome',
chromeOptions: {
'args': ['--no-sandbox'],
'binary': process.env.CHROME_BIN,
}
},
};
exports.config = {
onPrepare: function() { beforeEach(function() { browser.ignoreSynchronization = false; }); },
allScriptsTimeout: 11000,
specs: ['dist/examples/**/e2e_test/*_spec.js'],
capabilities: process.env.TRAVIS ? BROWSER_OPTIONS.ChromeOnTravis : BROWSER_OPTIONS.LocalChrome,
directConnect: true,
baseUrl: 'http://localhost:8001/',
framework: 'jasmine2',
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 60000,
print: function(msg) { console.log(msg); },
},
useAllAngular2AppRoots: true
};
TypeScript
1
https://gitee.com/409797885/angular.git
git@gitee.com:409797885/angular.git
409797885
angular
angular
master

搜索帮助