Skip to content

Commit ed89392

Browse files
committed
test: improve test description
1 parent 95bc2ce commit ed89392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-require-esm-with-no-experimental-require-module.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as fixtures from '../common/fixtures.mjs';
44
import { spawnSync } from 'node:child_process';
55
import assert from 'node:assert';
66

7-
test('correctly reports errors when trying to import an ESM module', () => {
7+
test('correctly reports errors when an ESM module is required with --no-experimental-require-module', () => {
88
// The following regex matches the error message that is expected to be thrown
99
//
1010
// package-type-module/require-esm-error-annotation/index.cjs:1

0 commit comments

Comments
 (0)