diff --git a/test/apply.js b/test/apply.js index 3ccf11ea..45336c05 100644 --- a/test/apply.js +++ b/test/apply.js @@ -505,7 +505,7 @@ test('apply - uncaught exception', async t => { const [store] = await createStores(1, t) const error = new Promise((resolve, reject) => { - process.on('uncaughtException', reject) + process.once('uncaughtException', reject) }) const a = new Autobase(store.session(), null, {