Skip to content

feat(ext/node): implement mock API for node:test module#31954

Merged
fraidev merged 1 commit intodenoland:mainfrom
fraidev:node-test-mock
Jan 27, 2026
Merged

feat(ext/node): implement mock API for node:test module#31954
fraidev merged 1 commit intodenoland:mainfrom
fraidev:node-test-mock

Conversation

@fraidev
Copy link
Copy Markdown
Contributor

@fraidev fraidev commented Jan 26, 2026

Implements the mock API for the node:test module, adding support for mock.fn(), mock.method(), mock.reset(), and mock.restoreAll().

Copy link
Copy Markdown
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work

@fraidev fraidev merged commit 0e374c7 into denoland:main Jan 27, 2026
19 checks passed
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.

2 participants