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
As you can see I cannot grab the spy function because its not available at import time.
Thats why it would be cool to have a named export on chai-spies which returns a wrapper to the chai.spy. That way you can do:
Atm one as to register the spies before beeing able to use it with the chai-object
chai.spy
However, I like to import only what I need:
As you can see I cannot grab the spy function because its not available at import time.
Thats why it would be cool to have a named export on
chai-spies
which returns a wrapper to thechai.spy
. That way you can do:What do you think?
The text was updated successfully, but these errors were encountered: