mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
lib: enforce use of trailing commas for functions
PR-URL: https://github.com/nodejs/node/pull/46629 Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
This commit is contained in:
parent
3acdeb1f7a
commit
fe514bf960
109 changed files with 389 additions and 389 deletions
|
@ -221,15 +221,15 @@ class TestCoverage {
|
|||
|
||||
coverageSummary.totals.coveredLinePercent = toPercentage(
|
||||
coverageSummary.totals.coveredLineCount,
|
||||
coverageSummary.totals.totalLineCount
|
||||
coverageSummary.totals.totalLineCount,
|
||||
);
|
||||
coverageSummary.totals.coveredBranchPercent = toPercentage(
|
||||
coverageSummary.totals.coveredBranchCount,
|
||||
coverageSummary.totals.totalBranchCount
|
||||
coverageSummary.totals.totalBranchCount,
|
||||
);
|
||||
coverageSummary.totals.coveredFunctionPercent = toPercentage(
|
||||
coverageSummary.totals.coveredFunctionCount,
|
||||
coverageSummary.totals.totalFunctionCount
|
||||
coverageSummary.totals.totalFunctionCount,
|
||||
);
|
||||
coverageSummary.files.sort(sortCoverageFiles);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue