mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
10 lines
238 B
JavaScript
Generated
10 lines
238 B
JavaScript
Generated
// This tests that the dns.lookup function keeps the process alive when it's called
|
|
const dns = require("dns");
|
|
|
|
process.exitCode = 42;
|
|
|
|
dns.lookup("google.com", (err, address, family) => {
|
|
console.log("Worked");
|
|
process.exit(0);
|
|
});
|