Skip to content

bench-node tests are broken in node 24.7.0 or later #143

@jdmarshall

Description

@jdmarshall

node --test --allow-natives-syntax --expose-gc

test at test/basic.js:194:1
✖ simple usage (0.032667ms)
Error: bench-node module must be run with --allow-natives-syntax argument
at throwIfNoNativesSyntax (/Users/jasonmarshall/Projects/cobbler/bench-node/lib/index.js:96:9)
at Suite.run (/Users/jasonmarshall/Projects/cobbler/bench-node/lib/index.js:198:3)
at SuiteContext. (/Users/jasonmarshall/Projects/cobbler/bench-node/test/basic.js:204:39)
at Suite.runInAsyncScope (node:async_hooks:214:14)
at Suite.createBuild (node:internal/test_runner/test:1476:13)
at new Suite (node:internal/test_runner/test:1467:28)
at Test.createSubtest (node:internal/test_runner/test:865:18)
at run (node:internal/test_runner/harness:364:28)
at test (node:internal/test_runner/harness:378:12)
at Object. (/Users/jasonmarshall/Projects/cobbler/bench-node/test/basic.js:194:1)

see nodejs/node/issues/60986

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions