jgrip
A testing utility that will help to write react unit test for component.
About
This package reads data in active text editor and if it is a react component then generates basic skeleton for react unit testing and it also helps in opening test file from component code in suitable pane.
Usage
There are two shortcuts.
ctrl-alt-g
: You can use this shortcut to create a test file or if file already exits then it opens test file for you in suitable pane. Check below gif.
ctrl-alt-r
: You can use this shortcut to open to tool bar related to that component from where you can copy new prop objects and some new skeleton etc. To check the example check below gif.
You can also use Generate test file
from context menu.