Skip to content

Latest commit

 

History

History

Tests Common Snippets

Prefix t.*

[t.aftereach] afterEach

afterEach(function() {
  ${1}
});

[t.after] after

after(function() {
  ${1}
});

[t.beforeeach] beforeEach

beforeEach(${1:'some description', }function${2: namedFun}() {
  ${3:beforeEach hook}
});

[t.before] before

before(function() {
  ${1}
});

[t.describe] describe

describe("$1", function() {
  $2
});

[t.it] it

it("${1}", function() {
  ${2}
});