git clone 'git://github.com/cowboyd/mocha-snippets.el.git'
M-x package-install mocha-snippets
I like Mocha, and I use it a lot. As such, I have a bunch of snippets that I've developed for it to make working with tests faster.
It contains snippets for both
desc → describe block
bef → beforeEach block
before → before block
aft → afterEach block
after → after block
it → it block
For both setup and teardown, the short forms
been given to
afterEach respectively, since
those are more commonly used (and if they aren't, then perhaps they