Navigate to snapshot when using Jest framework.

IDE: Webstorm

Framework: Facebook Jest https://facebook.github.io/jest/

 

When clicking on 'toMatchSnapshot' in below statement.

test('foo') {

  expect(something()).toMatchSnapshot()

}

The IDE would open the 'test.js.snap' file and go to line that contains the snapshot.

 

Such feature would be extremely useful for me.

0

Please sign in to leave a comment.