Skip to content

Commit

Permalink
serial test: log data if test times out
Browse files Browse the repository at this point in the history
  • Loading branch information
copy committed Sep 21, 2024
1 parent c758d6d commit c1ef714
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/api/serial.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ setTimeout(async () =>
}, 1000);

const timeout = setTimeout(() => {
console.log(serial_data);
throw new Error("Timeout");
}, 60 * 1000);

Expand Down

0 comments on commit c1ef714

Please sign in to comment.