Skip to content

Commit 3606b15

Browse files
committed
fix: test hang due to test cleanup
1 parent f9fea0f commit 3606b15

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

testutils_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ import (
1414
"github.com/stretchr/testify/require"
1515
)
1616

17-
func setupTestContext(t *testing.T) (*qjs.Runtime, *qjs.Context) {
17+
func setupTestContext(_ *testing.T) (*qjs.Runtime, *qjs.Context) {
1818
runtime := must(qjs.New())
1919
ctx := runtime.Context()
20-
t.Cleanup(runtime.Close)
20+
// t.Cleanup(runtime.Close)
2121
return runtime, ctx
2222
}
2323

0 commit comments

Comments
 (0)