Skip to content

flaky: test-esm-loader-resolve-type #50040

Closed
@mhdawson

Description

@mhdawson

Test

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

Platform

macOS ARM64

Console output

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:///Users/runner/work/node/node/test/es-module/test-esm-loader-resolve-type.mjs:34:3 {
  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 /Users/runner/work/node/node/test/es-module/test-esm-loader-resolve-type.mjs

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

Failed tests:
out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /Users/runner/work/node/node/test/es-module/test-esm-loader-resolve-type.mjs
make[1]: *** [test-ci] Error 1
make: *** [run-ci] Error 2
Error: Process completed with exit code 2.

Build links

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    flaky-testIssues and PRs related to the tests with unstable failures on the CI.loadersIssues and PRs related to ES module loadersmacosIssues and PRs related to the macOS platform / OSX.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions