mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com> Co-authored-by: Georgijs Vilums <=> Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com> Co-authored-by: Georgijs Vilums <georgijs.vilums@gmail.com> Co-authored-by: gvilums <gvilums@users.noreply.github.com>
15 lines
265 B
JavaScript
Generated
15 lines
265 B
JavaScript
Generated
process.exitCode = 1;
|
|
setTimeout(() => {
|
|
console.log("TEST FAILED!");
|
|
}, 100)
|
|
.ref()
|
|
.unref();
|
|
|
|
setTimeout(function () {
|
|
// this one should always run
|
|
process.exitCode = 0;
|
|
if (typeof this?.refresh !== "function") {
|
|
process.exitCode = 1;
|
|
}
|
|
}, 1);
|