Skip to content

Commit 9d62074

Browse files
committed
ref: Remove all trailing commas from integration tests cuz IE10/11
1 parent 5ccb56f commit 9d62074

File tree

4 files changed

+69
-63
lines changed

4 files changed

+69
-63
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"printWidth": 120,
3+
"proseWrap": "always",
4+
"singleQuote": true,
5+
"trailingComma": "es5"
6+
}

packages/browser/test/integration/polyfills/es6-promise-4.2.5.auto.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292

293293
reject(promise, reason);
294294
},
295-
'Settle: ' + (promise._label || ' unknown promise'),
295+
'Settle: ' + (promise._label || ' unknown promise')
296296
);
297297

298298
if (!sealed && error) {
@@ -316,7 +316,7 @@
316316
},
317317
function(reason) {
318318
return reject(promise, reason);
319-
},
319+
}
320320
);
321321
}
322322
}
@@ -481,7 +481,7 @@
481481
},
482482
function rejectPromise(reason) {
483483
reject(promise, reason);
484-
},
484+
}
485485
);
486486
} catch (e) {
487487
reject(promise, e);
@@ -560,7 +560,7 @@
560560
new c(function(resolve$$1) {
561561
return resolve$$1(entry);
562562
}),
563-
i,
563+
i
564564
);
565565
}
566566
} else {
@@ -597,7 +597,7 @@
597597
},
598598
function(reason) {
599599
return enumerator._settledAt(REJECTED, i, reason);
600-
},
600+
}
601601
);
602602
};
603603

@@ -786,7 +786,7 @@
786786

787787
function needsNew() {
788788
throw new TypeError(
789-
"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.",
789+
"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function."
790790
);
791791
}
792792

@@ -1149,7 +1149,7 @@
11491149
return constructor.resolve(callback()).then(function() {
11501150
throw reason;
11511151
});
1152-
},
1152+
}
11531153
);
11541154
}
11551155

0 commit comments

Comments
 (0)