diff --git a/src/compiler/tests/native-exceptions.test.ts b/src/compiler/tests/native-exceptions.test.ts index a301fae..f7e2e37 100644 --- a/src/compiler/tests/native-exceptions.test.ts +++ b/src/compiler/tests/native-exceptions.test.ts @@ -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 () => {