gitwtfhub

wtf is emacs-ava-snippets?

edmundmiller/emacs-ava-snippets — explained in plain English

Analysis updated 2026-07-18 · repo last pushed 2019-12-11

YASnippetAudience · developerComplexity · 1/5DormantSetup · easy

TL;DR

A collection of Emacs YASnippet shortcuts that auto-expand boilerplate for writing JavaScript tests with the AVA testing framework.

Mindmap

mindmap
  root((repo))
    What it does
      Expands test boilerplate
      Uses YASnippet format
      Speeds up test writing
    Tech stack
      Emacs
      YASnippet
      AVA
    Use cases
      Faster test authoring
      Consistent test syntax
      Reduce typos
    Audience
      Emacs users
      JavaScript testers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Type a short trigger to auto-expand a full AVA test block instead of typing it by hand.

REASON 2

Keep AVA test declarations and assertions consistent across a codebase using shared snippets.

REASON 3

Speed up writing repetitive setup blocks when authoring JavaScript tests in Emacs.

REASON 4

Reduce syntax typos in AVA test code by relying on pre-built snippet templates.

What's in the stack?

YASnippetEmacs LispJavaScript

How do you spin it up?

Difficulty · easy Time to first run · 5min

README doesn't document the full snippet list or install steps, check the repo files directly.

Yoink these prompts

Prompt 1
Help me install emacs-ava-snippets in my Emacs config so I can use YASnippet shortcuts for AVA tests.
Prompt 2
Show me what trigger words this snippet collection uses to expand common AVA test patterns.
Prompt 3
Walk me through writing a new YASnippet for an AVA test pattern that's missing from this collection.
Prompt 4
Explain how YASnippet expansion works in Emacs so I understand what emacs-ava-snippets is doing under the hood.

Frequently asked questions

wtf is emacs-ava-snippets?

A collection of Emacs YASnippet shortcuts that auto-expand boilerplate for writing JavaScript tests with the AVA testing framework.

What language is emacs-ava-snippets written in?

Mainly YASnippet. The stack also includes YASnippet, Emacs Lisp, JavaScript.

Is emacs-ava-snippets actively maintained?

Dormant — no commits in 2+ years (last push 2019-12-11).

How hard is emacs-ava-snippets to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is emacs-ava-snippets for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.