We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi. Is it possible to invoke callbacks nested within an object? The following code doesn't seem to work:
td.when(fileSystemService.exists({ filePath, onTrue: td.callback(), onFalse: td.matchers.isA(Function) })).thenResolve(true);
The text was updated successfully, but these errors were encountered:
No, that is not supported currently, although it sounds like a worthwhile addition.
Sorry, something went wrong.
Going to close, though, unless you plan on implementing
No branches or pull requests
Hi. Is it possible to invoke callbacks nested within an object? The following code doesn't seem to work:
td.when(fileSystemService.exists({ filePath, onTrue: td.callback(), onFalse: td.matchers.isA(Function) })).thenResolve(true);
The text was updated successfully, but these errors were encountered: