Skip to content

Commit 8abd3cf

Browse files
author
Shashikant Kadam
committed
add total time and whitespace fixes
1 parent f6c9a18 commit 8abd3cf

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

bin/commands/runs.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,11 @@ module.exports = function run(args) {
6464
// set the no-wrap
6565
utils.setNoWrap(bsConfig, args);
6666
markBlockEnd('setConfig');
67-
67+
6868
// Validate browserstack.json values and parallels specified via arguments
6969
markBlockStart('validateConfig');
7070
return capabilityHelper.validate(bsConfig, args).then(function (cypressJson) {
71+
7172
markBlockStart('preArchiveSteps');
7273
//get the number of spec files
7374
let specFiles = utils.getNumberOfSpecFiles(bsConfig, args, cypressJson);
@@ -82,19 +83,23 @@ module.exports = function run(args) {
8283
// Archive the spec files
8384
markBlockStart('archive');
8485
return archiver.archive(bsConfig.run_settings, config.fileName, args.exclude).then(function (data) {
86+
8587
markBlockEnd('archive');
8688
// Uploaded zip file
8789
markBlockStart('zipUpload');
8890
return zipUploader.zipUpload(bsConfig, config.fileName).then(async function (zip) {
89-
// Create build
91+
9092
markBlockEnd('zipUpload');
93+
// Create build
94+
9195
//setup Local Testing
9296
markBlockStart('localSetup');
9397
let bs_local = await utils.setupLocalTesting(bsConfig, args);
9498
markBlockEnd('localSetup');
9599
markBlockStart('createBuild');
96100
return build.createBuild(bsConfig, zip).then(function (data) {
97101
markBlockEnd('createBuild');
102+
markBlockEnd('total');
98103
let message = `${data.message}! ${Constants.userMessages.BUILD_CREATED} with build id: ${data.build_id}`;
99104
let dashboardLink = `${Constants.userMessages.VISIT_DASHBOARD} ${data.dashboard_url}`;
100105
utils.exportResults(data.build_id, `${config.dashboardUrl}${data.build_id}`);

test/unit/bin/helpers/sync/syncSpecsLogs.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@ describe("syncSpecsLogs", () => {
249249
syncSpecsLogs.__set__('endTime', endTime);
250250
syncSpecsLogs.__set__('specSummary', specSummary);
251251

252-
253252
return printSpecsStatus({}, {}).then((specSummary) => {
254253
expect(getOptions.calledOnce).to.be.true;
255254
expect(getTableConfig.calledOnce).to.be.true;

0 commit comments

Comments
 (0)