You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/es-module/test-typescript-commonjs.mjs
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -68,19 +68,19 @@ test('expect failure of an .mts file with CommonJS syntax', async () => {
68
68
69
69
constexpectedWarning=`Failed to load the ES module: ${testFilePath}. Make sure to set "type": "module" in the nearest package.json file or use the .mjs extension.`;
70
70
71
-
// First assertion: check that stderr contains a generic pattern for the ES module load failure.
72
-
// This ensures that at a minimum the error message structure is as expected.
0 commit comments