Skip to content

--experimental-config-file broken in tests in 24.4.0 #59021

Description

@JakobJingleheimer

Version

24.4.0

Platform

macOS 15.5
ubuntu 24.4.0

Subsystem

test_runner

What steps will reproduce the bug?

Save to the following to node.config.test.json

{
  "$schema": "https://nodejs.org/dist/v24.4.0/docs/node-config-schema.json",
  "nodeOptions": {
    "experimental-webstorage": true,
  },
  "testRunner": {
    "experimental-test-module-mocks": true
  }
}

Create a test that uses mock.module and webstorage.

Run

node --no-warnings --experimental-config-file=./node.config.test.json --test './src/**/*.test.ts'

How often does it reproduce? Is there a required condition?

100%

What is the expected behavior? Why is that the expected behavior?

It works (like it does in node 24.3.0).

What do you see instead?

Neither feature has been enabled, resulting in the typical errors.

Additional information

Possibly/likely other options are also not working.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    configIssues and PRs related to Node.js configuration and feature settings.confirmed-bugIssues and PRs for confirmed bugs.test_runnerIssues and PRs related to the test runner subsystem.

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions