Snippets for AVA and run tests directly in the editor
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
keymaps
lib
media
snippets
spec
styles
views
.editorconfig
.gitattributes
.gitignore
.npmrc
.travis.yml
license
package.json
readme.md

readme.md

AVA Build Status

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 Tab ↹ 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

In a project, choose the Ava: Run command in the Command Palette or press Ctrl Alt A to run the tests. Choose Ava: Run File or press Ctrl Alt Shift A to only run the current test file. Press Esc to close the AVA panel.

Related

License

MIT © Sindre Sorhus