Add Exceptions to Prelude #15

Merged
probablycorey merged 6 commits from add-exceptions into main 2025-10-31 17:05:07 +00:00
Showing only changes of commit e60e3184fa - Show all commits

View File

@ -111,7 +111,7 @@ describe('Native Function Exceptions', () => {
throw new Error('uncaught error')
})
await expect(vm.run()).rejects.toThrow('Uncaught exception in native function: uncaught error')
await expect(vm.run()).rejects.toThrow('uncaught error')
})
test('native function in function-level catch', async () => {