代码拉取完成,页面将自动刷新
同步操作将从 iamkun/dayjs 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
module.exports = function (config) {
var batches = [
{
sl_chrome_26: {
base: 'SauceLabs',
browserName: 'chrome',
version: '26'
},
sl_chrome: {
base: 'SauceLabs',
browserName: 'chrome'
},
sl_firefox_4: {
base: 'SauceLabs',
browserName: 'firefox',
version: '4'
},
sl_firefox: {
base: 'SauceLabs',
browserName: 'firefox'
},
sl_mac_safari_8: {
base: 'SauceLabs',
browserName: 'safari',
version: '8',
platform: 'OS X 10.10'
},
sl_mac_safari: {
base: 'SauceLabs',
browserName: 'safari',
platform: 'macOS 10.13'
}
},
{
sl_ie_9: {
base: 'SauceLabs',
browserName: 'internet explorer',
version: '9'
},
sl_ie: {
base: 'SauceLabs',
browserName: 'internet explorer'
},
sl_edge_13: {
base: 'SauceLabs',
browserName: 'MicrosoftEdge',
platform: 'Windows 10',
version: '13'
},
sl_edge: {
base: 'SauceLabs',
browserName: 'MicrosoftEdge'
}
},
{
sl_ios_safari_9: {
base: 'SauceLabs',
browserName: 'iphone',
version: '9.3'
},
sl_android_4_4: {
base: 'SauceLabs',
browserName: 'android',
version: '4.4'
}
},
{
sl_ios_safari: {
base: 'SauceLabs',
browserName: 'iphone'
},
sl_android: {
base: 'SauceLabs',
browserName: 'android'
}
}
];
var batch = batches[process.argv[4] || 0]
config.set({
basePath: '',
frameworks: ['jasmine'],
files: [
'dayjs.min.js',
'test/*spec.js'
],
reporters: ['dots', 'saucelabs'],
port: 9876,
colors: true,
logLevel: config.LOG_DEBUG,
sauceLabs: {
// build: 'Manual',
testName: 'Day.js'
},
captureTimeout: 200000, // try fix ios timeout
customLaunchers: batch,
browsers: Object.keys(batch),
singleRun: true
});
};
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。