File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ const {
6060export const MTS_SUPPORTED_NODE_VERSION = 16
6161export const LOADER_SUPPORTED_NODE_VERSION = 20
6262export const TYPESCRIPT_DEFAULT_NODE_VERSION = 23.6
63- export const TYPESCRIPT_SUPPORTED_NODE_VERSION = 22.1
6463
6564const NODE_TYPESCRIPT = process . features . typescript
6665const NODE_VERSION = Number . parseFloat ( process . versions . node )
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import type { AsyncWorkerFn } from './types.js'
1010import {
1111 MTS_SUPPORTED_NODE_VERSION ,
1212 TYPESCRIPT_DEFAULT_NODE_VERSION ,
13- TYPESCRIPT_SUPPORTED_NODE_VERSION ,
1413 TsRunner ,
1514} from 'synckit'
1615
@@ -138,7 +137,7 @@ test(TsRunner.TSX, async () => {
138137test ( TsRunner . Node , async ( ) => {
139138 const { createSyncFn } = await import ( 'synckit' )
140139
141- if ( nodeVersion < TYPESCRIPT_SUPPORTED_NODE_VERSION ) {
140+ if ( ! process . features . typescript ) {
142141 // eslint-disable-next-line jest/no-conditional-expect
143142 expect ( ( ) =>
144143 createSyncFn < AsyncWorkerFn > ( workerMtsPath , {
You can’t perform that action at this time.
0 commit comments