-
Notifications
You must be signed in to change notification settings - Fork 61
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
Clarification on the extensionTestsPath run signature #213
Comments
The second argument should definitely be there. This is where it gets called: I see that when |
@connor4312 confirmed that the cb does exist, for some reason it wasn't evaluating right. Thanks! And yeah the testsRoot is pretty useless since you can just get it from I also see it is noted there as the "old" API, looks like this is just there for compatibility, so either method is supported, thanks for finding the hook. |
Yea, we have the callback from the pre-promises era. People should not really be using that for new code, so I don't want to document people. |
The help specifies this:
But the samples entrypoints have parameters:
vscode-test/sample/src/test/suite/index.ts
Line 5 in addc23e
When I try this myself, the first param gets populated with the name of the test file that was called (not the "root" as the line proposes), and the callback seems to be null. Is the help out of date or am I missing something?
CC @connor4312
The text was updated successfully, but these errors were encountered: