Skip to content

Commit 73885f8

Browse files
author
Giovanni
committed
test_runner: added missing snapshot for the dot.js test
1 parent e62cdb1 commit 73885f8

File tree

1 file changed

+2
-2
lines changed
  • lib/internal/test_runner/reporter

1 file changed

+2
-2
lines changed

lib/internal/test_runner/reporter/dot.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ module.exports = async function* dot(source) {
1212
const failedTests = [];
1313
for await (const { type, data } of source) {
1414
if (type === 'test:pass') {
15-
yield '.';
15+
yield `${colors.green}.${colors.clear}`;
1616
}
1717
if (type === 'test:fail') {
18-
yield 'X';
18+
yield `${colors.red}X${colors.clear}`;
1919
ArrayPrototypePush(failedTests, data);
2020
}
2121
if ((type === 'test:fail' || type === 'test:pass') && ++count === columns) {

0 commit comments

Comments
 (0)