Test Story Viewer - Hide Repeated Code

  02 Mar 2021   1 min read

For VS Code and JetBrains editors, Wallaby’s Test Story Viewer now allows you to quickly identify and hide repeated sequences of executed code pieces with the codelens action: Hide repeated entries like this. intention action: Hide repeated entries like this. action: Hide repeated entries like this. action: Hide repeated entries like this. This feature lets you focus on the important parts of the executed code and helps you maintain focus.

Some examples of repeated code may be utility functions (such as a logger), code repeated in a loop, and frequently executed functions that are callbacks (such as array’s .filter, .map, .reduce, etc.).

Once the repeated pieces of executed code are hidden from the test story, Wallaby’s Time Travel Debugger will no longer step into the hidden pieces when moving forward and backwards through your code.