Version
24.4.0
Platform
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.
Version
24.4.0
Platform
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
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.