From 32ea9da89ba8d59ad1ba166f67c4e45db2cf7c96 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Tue, 17 Dec 2024 18:11:19 +0100 Subject: [PATCH] fixup! test: skip TS tests so CI is green --- test/es-module/test-typescript-transform.mjs | 6 +++--- test/parallel/test-runner-cli.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/es-module/test-typescript-transform.mjs b/test/es-module/test-typescript-transform.mjs index f2f1c0e6e6897f..f2620429364cd2 100644 --- a/test/es-module/test-typescript-transform.mjs +++ b/test/es-module/test-typescript-transform.mjs @@ -1,12 +1,12 @@ -import { skip, spawnPromisified } from '../common/index.mjs'; +import { skip, spawnPromisified, isInsideDirWithUnusualChars } from '../common/index.mjs'; import * as fixtures from '../common/fixtures.mjs'; import { match, strictEqual } from 'node:assert'; import { test } from 'node:test'; if (!process.config.variables.node_use_amaro) skip('Requires Amaro'); -if (common.isInsideDirWithUnusualChars) { - common.skip('expected failure'); +if (isInsideDirWithUnusualChars) { + skip('expected failure'); } test('execute a TypeScript file with transformation enabled', async () => { diff --git a/test/parallel/test-runner-cli.js b/test/parallel/test-runner-cli.js index c42cb3c3e7e251..7df2ed977d6b74 100644 --- a/test/parallel/test-runner-cli.js +++ b/test/parallel/test-runner-cli.js @@ -1,6 +1,6 @@ 'use strict'; -require('../common'); +const common = require('../common'); const assert = require('assert'); const { spawnSync } = require('child_process'); const { join } = require('path');