JavaScript/TypeScript snippets for Mocha in Atom.
apm install atom-mocha-snippets
or search “snippets” under packages within Atom.
Note: Atom requires a restart after settings are changed for them to take effect.
Toggle Double Quotes: [Default: single quotes] Allows the user to toggle between single and double quotes.
Toggle Semicolons: [Default: with semicolons] Allows the user to toggle between having semicolons on or off.
Note: Atom requires a restart after settings are changed for them to take effect.
describe('', function(){
});
context('', function(){
});
it('', function(){
});
specify('', function(){
});
before(function(){
});
beforeEach(function(){
});
after(function(){
});
afterEach(function(){
});
it('');
this.retries(integer);
this.timeout(milliseconds);
-
@coichedid - Added ES6 support
-
@thoiberg - Added configurable settings for semicolons
-
@th-we - Added Typescript support
[MIT] © [Merrill Lines]