You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix the typing of test implementations (or macro executors) to allow promise-returning, observable returning and any-returning functions
This isn't really an issue since the fallback type is void, but having the PromiseLike and Subscribable types does help if you're ever tempted to write these by hand, within the implementation…
See #2435. This will improve context typing and simplify usage.
test.macro(exec)
andtest.macro({exec, title})
. This will return atest.Macro
instance which can be passed totest()
test()
The text was updated successfully, but these errors were encountered: