Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions test/cache-interceptor/cache-tests.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ for (let i = 0; i < testEnvironments.length; i++) {
stdout.push(chunk)
})

cacheTestsWorkerProcess.stderr.on('error', chunk => {
cacheTestsWorkerProcess.stderr.on('data', chunk => {
stdout.push(chunk)
})

Expand All @@ -171,7 +171,9 @@ let exitCode = 0

// Print the results of all the results in the order that they exist
for (const [code, stdout] of await Promise.all(results)) {
exitCode = code
if (code !== 0) {
exitCode = code
}

for (const line of stdout) {
process.stdout.write(line)
Expand Down
Loading