Fix typo in host.ts (#43930)

encounted -> encountered
This commit is contained in:
Ikko Ashimine
2021-05-13 14:00:26 -07:00
committed by GitHub
parent 4990bd9293
commit 493ec4cc26
+1 -1
View File
@@ -285,7 +285,7 @@ namespace Harness.Parallel.Host {
worker.process.on("message", (data: ParallelClientMessage) => {
switch (data.type) {
case "error": {
console.error(`Test worker encounted unexpected error${data.payload.name ? ` during the execution of test ${data.payload.name}` : ""} and was forced to close:
console.error(`Test worker encountered unexpected error${data.payload.name ? ` during the execution of test ${data.payload.name}` : ""} and was forced to close:
Message: ${data.payload.error}
Stack: ${data.payload.stack}`);
return process.exit(2);