atom-ava icon indicating copy to clipboard operation
atom-ava copied to clipboard

Snippets for AVA and run tests directly in the editor

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