esm: implement import.meta.command #52895
Annotations
2 errors
Test:
test/es-module/test-esm-import-meta.mjs#L1
--- stderr ---
node:internal/process/esm_loader:41
internalBinding('errors').triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped
[
+ 'command',
'dirname',
...
'resolve',
'url'
]
at file:///home/runner/work/node/node/test/es-module/test-esm-import-meta.mjs:7:8
at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:338:24)
at async loadESM (node:internal/process/esm_loader:35:7)
at async handleMainPromise (node:internal/modules/run_main:123:12) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'command', 'dirname', 'filename', 'resolve', 'url' ],
expected: [ 'dirname', 'filename', 'resolve', 'url' ],
operator: 'deepStrictEqual'
}
Node.js v22.0.0-pre
Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /home/runner/work/node/node/test/es-module/test-esm-import-meta.mjs
|
Test
Process completed with exit code 2.
|
The logs for this run have expired and are no longer available.
Loading