Files
maestro/tests/fixtures/scripts/timeout.js
T

8 lines
208 B
JavaScript

// Hangs forever — keeps the event loop alive so the parent's timeout fires.
async function main() {
await new Promise((_resolve) => {
setInterval(() => {}, 1_000_000);
});
}
module.exports = main;