summaryrefslogtreecommitdiff
path: root/.emacs.d.back/snippets/js2-mode/chit.yasnippet
blob: 235184521d18fe64df0ecdb36eae1cec9aaee21e (plain)
1
2
3
4
5
6
7
8
9
10
11
# -*- mode: snippet -*-
# name: Chai unit testing
# key: chit
# --

  it('$1', (done) => {
    chai.request(app).$2('$3')$4.end((err, res) => {
      $5
      done();
    });
  });