Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_runner: add resetCalls to MockFunctionContext #45710

Merged
merged 1 commit into from Dec 8, 2022

Conversation

fossamagna
Copy link
Contributor

This commit allows tests in test runner to reset the calls of mock function

Refs: #45326 (comment)

doc/api/test.md Outdated Show resolved Hide resolved
This commit allows tests in test runner to reset
the calls of mock function

Refs: nodejs#45326 (comment)
@MoLow MoLow added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. labels Dec 2, 2022
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 2, 2022
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@cjihrig cjihrig added commit-queue Add this label to land a pull request using GitHub Actions. and removed needs-ci PRs that need a full CI run. labels Dec 8, 2022
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Dec 8, 2022
@nodejs-github-bot nodejs-github-bot merged commit 01b7ac6 into nodejs:main Dec 8, 2022
@nodejs-github-bot
Copy link
Collaborator

Landed in 01b7ac6

ErickWendel pushed a commit to ErickWendel/node that referenced this pull request Dec 12, 2022
This commit allows tests in test runner to reset
the calls of mock function

Refs: nodejs#45326 (comment)
PR-URL: nodejs#45710
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
targos pushed a commit that referenced this pull request Dec 12, 2022
This commit allows tests in test runner to reset
the calls of mock function

Refs: #45326 (comment)
PR-URL: #45710
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
targos pushed a commit that referenced this pull request Dec 13, 2022
This commit allows tests in test runner to reset
the calls of mock function

Refs: #45326 (comment)
PR-URL: #45710
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
danielleadams pushed a commit that referenced this pull request Dec 30, 2022
This commit allows tests in test runner to reset
the calls of mock function

Refs: #45326 (comment)
PR-URL: #45710
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
danielleadams pushed a commit that referenced this pull request Dec 30, 2022
This commit allows tests in test runner to reset
the calls of mock function

Refs: #45326 (comment)
PR-URL: #45710
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
danielleadams pushed a commit that referenced this pull request Jan 3, 2023
This commit allows tests in test runner to reset
the calls of mock function

Refs: #45326 (comment)
PR-URL: #45710
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
danielleadams pushed a commit that referenced this pull request Jan 4, 2023
This commit allows tests in test runner to reset
the calls of mock function

Refs: #45326 (comment)
PR-URL: #45710
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
danielleadams pushed a commit that referenced this pull request Jan 5, 2023
This commit allows tests in test runner to reset
the calls of mock function

Refs: #45326 (comment)
PR-URL: #45710
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. test_runner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants