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: fix mock.method to support class instances #45608
test_runner: fix mock.method to support class instances #45608
Commits on Dec 6, 2022
-
test: fix mock.method to support class instances
It fixes a problem when trying to spy a method from a class instance or static functions on a class instance
-
Co-authored-by: Yagiz Nizipli <yagiz@nizipli.com>
-
Signed-off-by: Erick Wendel <erick.workspace@gmail.com>
-
test: drop comments and rename tests
Signed-off-by: Erick Wendel <erick.workspace@gmail.com>
-
-
-
-
-
Commits on Dec 7, 2022
-
test_runner: turn fn into inline if
Signed-off-by: Erick Wendel <erick.workspace@gmail.com>
-
Commits on Dec 12, 2022
-
add aduh95 suggestion test/parallel/test-runner-mocking.js
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
-
-
Signed-off-by: Erick Wendel <erick.workspace@gmail.com>
Commits on Dec 13, 2022
-
test_runner: add test case to check prototype chain
Signed-off-by: Erick Wendel <erick.workspace@gmail.com>