Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions tests/command.executableSubcommand.lookup.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Loading