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
It might be bad practice, but I'd like to know "if wallaby" is running my code.
I know if jest does it, but I'm more interested if wallaby does it. More specifically I want the application I am testing not to show console error logs, unless "debugging" it with wallaby.
The text was updated successfully, but these errors were encountered:
If you are running your tests in node, you can check if Wallaby is running your code by looking for process.env.WALLABY_ENV variable. The value will be a string with a value of true.
If you are running your tests in the browser, you can check whether a window variable is set, "window.$_$session".
It might be bad practice, but I'd like to know "if wallaby" is running my code.
I know if jest does it, but I'm more interested if wallaby does it. More specifically I want the application I am testing not to show console error logs, unless "debugging" it with wallaby.
The text was updated successfully, but these errors were encountered: