Skip to content

Commit

Permalink
Few more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Raathigesh committed Apr 5, 2019
1 parent 05e9d40 commit 9453046
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion server/services/jest-manager/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ export default class JestManager {
"-r",
this.getPatchFilePath(),
this.config.jestScriptPath,
...(this.config.args || []),
"--colors",
...(collectCoverage
? ["--collectCoverage=true"]
: ["--collectCoverage=false"]),
...(this.config.args || []),
...args
];

Expand Down
8 changes: 4 additions & 4 deletions ui/sidebar/summary/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,31 +136,31 @@ export default function SummaryPanel({ summary }: Props) {
<Row>
<Cell>
<CoverageValue>
{summary && summary.coverage && summary.coverage.statement}
{summary && summary.coverage && summary.coverage.statement}%
</CoverageValue>
<CoverageLabel>
<Layers size={9} /> Stmts
</CoverageLabel>
</Cell>
<Cell>
<CoverageValue>
{summary && summary.coverage && summary.coverage.branch}
{summary && summary.coverage && summary.coverage.branch}%
</CoverageValue>
<CoverageLabel>
<Layers size={9} /> Branch
</CoverageLabel>
</Cell>
<Cell>
<CoverageValue>
{summary && summary.coverage && summary.coverage.function}
{summary && summary.coverage && summary.coverage.function}%
</CoverageValue>
<CoverageLabel>
<Layers size={9} /> Funcs
</CoverageLabel>
</Cell>
<Cell>
<CoverageValue>
{summary && summary.coverage && summary.coverage.line}
{summary && summary.coverage && summary.coverage.line}%
</CoverageValue>
<CoverageLabel>
<Layers size={9} /> Lines
Expand Down

0 comments on commit 9453046

Please sign in to comment.