Skip to content

Audit js.node.test for Node 24 + Haxe 4 - #268

Merged
kevinresol merged 2 commits into
HaxeFoundation:masterfrom
kevinresol:audit/js-node-test
Jul 14, 2026
Merged

kevinresol merged 2 commits into
HaxeFoundation:masterfrom
kevinresol:audit/js-node-test

Conversation

@kevinresol

@kevinresol kevinresol commented Jul 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add missing node:test/reporters externs (js.node.test.Reporters: dot / spec / tap / junit / lcov) for use with Test.run().compose(...).
  • Model Test.test as ItFunction (enables test.skip / test.expectFailure like it), typed RunIsolation for run({ isolation }), and document MockTimers Symbol.dispose as an alias of reset().
  • Refresh copyright headers to 2014–2026; clarify Node 24 dual-LTS version notes (workerId v24.15, SuiteContext passed/attempt/diagnostic v24.16, attempt v25).

Findings

Test plan

  • haxe build.hxml (ImportAll) succeeds
  • CI matrix on the PR

kevinresol and others added 2 commits July 14, 2026 21:26
Add node:test/reporters, tighten RunIsolation, document MockTimers Symbol.dispose, and refresh copyright through 2026.

Co-authored-by: Cursor <cursoragent@cursor.com>
Align shorthand/docs notes with the Node 24 test runner surface already typed in this audit.

Co-authored-by: Cursor <cursoragent@cursor.com>
@kevinresol
kevinresol merged commit 4da71c6 into HaxeFoundation:master Jul 14, 2026
10 checks passed
@kevinresol
kevinresol deleted the audit/js-node-test branch July 15, 2026 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant