Skip to content

Commit 0999b5e

Browse files
unseen1980targos
authored andcommitted
test: remove duplicated test descriptions
PR-URL: #54140 Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 32261fc commit 0999b5e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/es-module/test-typescript-eval.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ test('expect fail eval TypeScript CommonJS syntax with input-type module', async
9898
strictEqual(result.code, 1);
9999
});
100100

101-
test('expect fail eval TypeScript CommonJS syntax with input-type module', async () => {
101+
test('expect fail eval TypeScript ESM syntax with input-type commonjs', async () => {
102102
const result = await spawnPromisified(process.execPath, [
103103
'--experimental-strip-types',
104104
'--input-type=commonjs',

test/es-module/test-typescript.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ test('execute a TypeScript file with CommonJS syntax requiring .mts', async () =
288288
strictEqual(result.code, 1);
289289
});
290290

291-
test('execute a TypeScript file with CommonJS syntax requiring .mts with require-module', async () => {
291+
test('execute a TypeScript file with CommonJS syntax requiring .mts using require-module', async () => {
292292
const result = await spawnPromisified(process.execPath, [
293293
'--experimental-strip-types',
294294
'--experimental-require-module',
@@ -300,7 +300,7 @@ test('execute a TypeScript file with CommonJS syntax requiring .mts with require
300300
strictEqual(result.code, 0);
301301
});
302302

303-
test('execute a TypeScript file with CommonJS syntax requiring .mts with require-module', async () => {
303+
test('execute a TypeScript file with CommonJS syntax requiring .cts using commonjs', async () => {
304304
const result = await spawnPromisified(process.execPath, [
305305
'--experimental-strip-types',
306306
'--no-warnings',

0 commit comments

Comments
 (0)