Clean up functions when disposed #443
Annotations
10 errors and 1 warning
packages/quickjs-emscripten/src/quickjs.test.ts#L601
AssertionError: 0 == 3
- Expected
+ Received
- 3
+ 0
❯ src/quickjs.test.ts:601:14
❯ src/quickjs.test.ts:87:17
❯ Function.withScopeAsync ../quickjs-emscripten-core/src/lifetime.ts:314:20
❯ src/quickjs.test.ts:86:21
|
packages/quickjs-emscripten/src/quickjs.test.ts#L320
AssertionError: 'Hello undefined' == 'Hello World'
Expected: "Hello World"
Received: "Hello undefined"
❯ src/quickjs.test.ts:320:14
❯ src/quickjs.test.ts:87:17
❯ Function.withScopeAsync ../quickjs-emscripten-core/src/lifetime.ts:314:20
❯ src/quickjs.test.ts:86:21
|
packages/quickjs-emscripten-core/src/context.ts#L1297
TypeError: cannot read property 'then' of undefined
❯ QuickJSContext.unwrapResult ../quickjs-emscripten-core/src/context.ts:1297:27
❯ src/quickjs.test.ts:1044:10
❯ src/quickjs.test.ts:87:17
❯ Function.withScopeAsync ../quickjs-emscripten-core/src/lifetime.ts:314:20
❯ src/quickjs.test.ts:86:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { context: { type: 'QuickJSContext', __vitest__: true, alive: true } }
Caused by: TypeError: cannot read property 'then' of undefined
|
packages/quickjs-emscripten/src/quickjs.test.ts#L748
AssertionError: 0 == 3
- Expected
+ Received
- 3
+ 0
❯ src/quickjs.test.ts:748:14
❯ src/quickjs.test.ts:87:17
❯ Function.withScopeAsync ../quickjs-emscripten-core/src/lifetime.ts:314:20
❯ src/quickjs.test.ts:86:21
|
packages/quickjs-emscripten/src/quickjs.test.ts#L601
AssertionError: 0 == 3
- Expected
+ Received
- 3
+ 0
❯ src/quickjs.test.ts:601:14
❯ src/quickjs.test.ts:87:17
❯ Function.withScopeAsync ../quickjs-emscripten-core/src/lifetime.ts:314:20
❯ src/quickjs.test.ts:86:21
|
packages/quickjs-emscripten/src/quickjs.test.ts#L320
AssertionError: 'Hello undefined' == 'Hello World'
Expected: "Hello World"
Received: "Hello undefined"
❯ src/quickjs.test.ts:320:14
❯ src/quickjs.test.ts:87:17
❯ Function.withScopeAsync ../quickjs-emscripten-core/src/lifetime.ts:314:20
❯ src/quickjs.test.ts:86:21
|
packages/quickjs-emscripten-core/src/context.ts#L1297
TypeError: cannot read property 'then' of undefined
❯ QuickJSContext.unwrapResult ../quickjs-emscripten-core/src/context.ts:1297:27
❯ src/quickjs.test.ts:1044:10
❯ src/quickjs.test.ts:87:17
❯ Function.withScopeAsync ../quickjs-emscripten-core/src/lifetime.ts:314:20
❯ src/quickjs.test.ts:86:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { context: { type: 'QuickJSContext', __vitest__: true, alive: true } }
Caused by: Caused by: TypeError: cannot read property 'then' of undefined
|
packages/quickjs-emscripten/src/quickjs.test.ts#L748
AssertionError: 0 == 3
- Expected
+ Received
- 3
+ 0
❯ src/quickjs.test.ts:748:14
❯ src/quickjs.test.ts:87:17
❯ Function.withScopeAsync ../quickjs-emscripten-core/src/lifetime.ts:314:20
❯ src/quickjs.test.ts:86:21
|
packages/quickjs-emscripten/src/quickjs.test.ts#L601
AssertionError: 0 == 3
- Expected
+ Received
- 3
+ 0
❯ src/quickjs.test.ts:601:14
❯ src/quickjs.test.ts:87:17
❯ Function.withScopeAsync ../quickjs-emscripten-core/src/lifetime.ts:314:20
❯ src/quickjs.test.ts:86:21
|
packages/quickjs-emscripten/src/quickjs.test.ts#L320
AssertionError: 'Hello undefined' == 'Hello World'
Expected: "Hello World"
Received: "Hello undefined"
❯ src/quickjs.test.ts:320:14
❯ src/quickjs.test.ts:87:17
❯ Function.withScopeAsync ../quickjs-emscripten-core/src/lifetime.ts:314:20
❯ src/quickjs.test.ts:86:21
|
|
The logs for this run have expired and are no longer available.
Loading