1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-29 16:30:56 -05:00
denoland-deno/tests/testdata/test/sanitizer/exit_sanitizer.ts
Matt Mastracci c92717a1a4
chore(cli): pre-factor the sanitizer tests (#22436)
Moving tests around so that we can make #22413 smaller
2024-02-16 10:49:42 -07:00

11 lines
167 B
TypeScript

Deno.test("exit(0)", function () {
Deno.exit(0);
});
Deno.test("exit(1)", function () {
Deno.exit(1);
});
Deno.test("exit(2)", function () {
Deno.exit(2);
});