2026-06-03 05:08:00 +00:00

11 lines
273 B
JavaScript

/**
* Returns a circular object — tests that the runner handles JSON.stringify failure
* gracefully (reports serializationError instead of crashing the child process).
*/
async function main() {
const o = { a: 1 };
o.self = o;
return o;
}
module.exports = main;