Skip to content

Commit fbc6fcb

Browse files
authored
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 090add7 commit fbc6fcb

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
@@ -287,7 +287,7 @@ test('execute a TypeScript file with CommonJS syntax requiring .mts', async () =
287287
strictEqual(result.code, 0);
288288
});
289289

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

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

0 commit comments

Comments
 (0)