Skip to content

Flaky es-module/test-esm-loader-resolve-type #50087

Closed as not planned
Closed as not planned
@aduh95

Description

@aduh95

Test

es-module/test-esm-loader-resolve-type

Platform

No response

Console output

=== release test-esm-loader-resolve-type ===
Path: es-module/test-esm-loader-resolve-type
Error: --- stderr ---
node:internal/process/esm_loader:40
      internalBinding('errors').triggerUncaughtException(
                                ^

AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected

  {
    code: 0,
    signal: null,
    stderr: '',
+   stdout: '{"before":{"importedESM":0,"importedCJS":0},"after":{"importedESM":0,"importedCJS":0}}\n'
-   stdout: '{"before":{"importedESM":0,"importedCJS":0},"after":{"importedESM":1,"importedCJS":0}}\n'
  }
    at file:///home/runner/work/node/node/test/es-module/test-esm-loader-resolve-type.mjs:34:3
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: {
    code: 0,
    signal: null,
    stderr: '',
    stdout: '{"before":{"importedESM":0,"importedCJS":0},"after":{"importedESM":0,"importedCJS":0}}\n'
  },
  expected: {
    code: 0,
    signal: null,
    stderr: '',
    stdout: '{"before":{"importedESM":0,"importedCJS":0},"after":{"importedESM":1,"importedCJS":0}}\n'
  },
  operator: 'deepStrictEqual'
}

Node.js v21.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-loader-resolve-type.mjs

===
=== 1 tests failed
===

Build links

Additional information

@nodejs/loaders

Metadata

Metadata

Assignees

No one assigned

    Labels

    flaky-testIssues and PRs related to the tests with unstable failures on the CI.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions