Awesome
AVA
<img src="media/screenshot.gif" width="598">Snippets for AVA and run tests directly in the editor
Install
$ apm install ava
Or, Settings → Install → Search for ava
Snippets
Included are some snippets useful for writing AVA tests.
Start writing a snippet's prefix
and then press <kbd>Tab ↹</kbd> to expand the snippet.
Snippets are fuzzy matched, so you can for example just write tde
to get the t.deepEqual()
snippet.
Run tests directly in the editor
<img src="media/test-panel.gif" width="500">In a project, choose the Ava: Run
command in the Command Palette or press <kbd>Ctrl</kbd> <kbd>Alt</kbd> <kbd>A</kbd> to run the tests. Choose Ava: Run File
or press <kbd>Ctrl</kbd> <kbd>Alt</kbd> <kbd>Shift</kbd> <kbd>A</kbd> to only run the current test file. Press <kbd>Esc</kbd> to close the AVA panel.
Related
License
MIT © Sindre Sorhus