Skip to content

Commit dcf0f39

Browse files
fix: write arg
1 parent 8caa7ce commit dcf0f39

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/tester.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ export async function runAllTests() {
1414

1515
try {
1616
// Run unit tests
17-
await runSanityTests();
18-
await runAceEditorTests();
17+
await runSanityTests(write);
18+
await runAceEditorTests(write);
1919

2020
write("\x1b[36m\x1b[1mTests completed!\x1b[0m\n");
2121
} catch (error) {
@@ -200,8 +200,8 @@ class TestRunner {
200200

201201
line(
202202
` Tests: ${COLORS.BRIGHT}${total}${COLORS.RESET} | ` +
203-
`${statusColor}Passed: ${this.passed}${COLORS.RESET} | ` +
204-
`${COLORS.RED}Failed: ${this.failed}${COLORS.RESET}`,
203+
`${statusColor}Passed: ${this.passed}${COLORS.RESET} | ` +
204+
`${COLORS.RED}Failed: ${this.failed}${COLORS.RESET}`,
205205
statusColor,
206206
);
207207

0 commit comments

Comments
 (0)