Atom Packages Directory

a package directory for a text editor of the 21st Century

Mocha Snippets

Install with:
    apm install atom-mocha-snippets
  

badge apm

Mocha Snippets

Snippets for Mocha in Atom.

Install

apm install atom-mocha-snippets or search “snippets” under packages within Atom.

Snippets

describe

``` describe(“”, function(){

}); ```

context

``` context(“”, function(){

}); ```

it

``` it(“”, function(){

}); ``` ### specify

``` specify(“”, function(){

}); ```

before

``` before(function(){

}); ```

beforeEach

``` beforeEach(function(){

}); ```

after

``` after(function(){

}); ```

afterEach

``` afterEach(function(){

}); ```

pending

it("");

retries

this.retries(integer);

timeout

this.timeout(milliseconds);

License

[MIT] © [Merrill Lines]

Keywords: mocha, javascript, bdd, snippets, tdd, chai Suggest keywords
Fork me on GitHub