From 320fbe30aacccefe410fbbc85a3a214a723453e2 Mon Sep 17 00:00:00 2001 From: Damien Meur Date: Tue, 14 Jul 2026 02:57:14 +0200 Subject: [PATCH] Unskip .ts subcommand lookup test now that node 20 is EOL --- tests/command.executableSubcommand.lookup.test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/command.executableSubcommand.lookup.test.js b/tests/command.executableSubcommand.lookup.test.js index a61de36bc..f6a0d57d5 100644 --- a/tests/command.executableSubcommand.lookup.test.js +++ b/tests/command.executableSubcommand.lookup.test.js @@ -90,8 +90,7 @@ describe('executable subcommand lookup ', () => { }, ); - // This test currently fails on Node 20 when run as ESM because Node does not execute .ts files as JavaScript by default. - test.skip('when subcommand suffix is .ts then lookup succeeds', async () => { + test('when subcommand suffix is .ts then lookup succeeds', async () => { // We support looking for ts files for ts-node in particular, but don't need to test ts-node itself. // The subcommand is both plain JavaScript code for this test. const binLinkTs = path.join(