mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-14 04:01:35 +00:00
7 lines
275 B
JavaScript
7 lines
275 B
JavaScript
/** Isolate an uncaught native-callback exception from the test runner. */
|
|
import { loadFlockBinding } from './flock-binding.js';
|
|
|
|
const binding = loadFlockBinding();
|
|
process.send({ type: 'ready' });
|
|
binding.tryLock(-1, () => { throw new Error('flock callback failure'); });
|