We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ede0fa4 commit f5971daCopy full SHA for f5971da
1 file changed
test/ts-runner.spec.ts
@@ -147,7 +147,9 @@ test(TsRunner.Node, async () => {
147
return
148
}
149
150
- let syncFn = createSyncFn<AsyncWorkerFn>(workerJsPath)
+ let syncFn = createSyncFn<AsyncWorkerFn>(workerJsPath, {
151
+ tsRunner: nodeVersion >= 23 ? undefined : TSRunner.Node,
152
+ })
153
expect(syncFn(1)).toBe(1)
154
expect(syncFn(2)).toBe(2)
155
expect(syncFn(5)).toBe(5)
@@ -156,7 +158,9 @@ test(TsRunner.Node, async () => {
156
158
157
159
160
- syncFn = createSyncFn<AsyncWorkerFn>(workerMtsPath)
161
+ syncFn = createSyncFn<AsyncWorkerFn>(workerMtsPath, {
162
163
164
165
166
0 commit comments