Skip to content

feat: add mustCallAtLeast to the harness - #71

Open
bavulapati wants to merge 1 commit into
nodejs:mainfrom
bavulapati:feat/harness-must-call-at-least
Open

feat: add mustCallAtLeast to the harness#71
bavulapati wants to merge 1 commit into
nodejs:mainfrom
bavulapati:feat/harness-must-call-at-least

Conversation

@bavulapati

Copy link
Copy Markdown
Contributor

Adds mustCallAtLeast(fn, minimum) alongside mustCall, for callbacks whose call count the runtime decides (e.g. a proxy trap an engine may consult more than once).

Needed by the test_object/test_exceptions port.

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

Labels

None yet

Projects

Status: Need Triage

Development

Successfully merging this pull request may close these issues.

1 participant