Commit 28e36622 authored by marc0s's avatar marc0s

fix(yas): use function() for mocha

parent bd07b04c
......@@ -2,6 +2,6 @@
# name: after
# key: after
# --
after((${3:done}) => {
after(function(${3:done}) {
$0
});
\ No newline at end of file
......@@ -2,6 +2,6 @@
# name: afterEach
# key: aftere
# --
afterEach((${3:done}) => {
afterEach(function(${3:done}) {
$0
});
\ No newline at end of file
......@@ -2,6 +2,6 @@
# name: before
# key: bef
# --
before((${3:done}) => {
before(function(${3:done}) {
$0
});
\ No newline at end of file
......@@ -2,6 +2,6 @@
# name: beforeEach
# key: befe
# --
beforeEach((${3:done}) => {
beforeEach(function(${3:done}) {
$0
});
\ No newline at end of file
......@@ -2,6 +2,6 @@
# name: desc
# key: desc
# --
describe('$1', () => {
describe('$1', function() {
$2
});
\ No newline at end of file
......@@ -2,6 +2,6 @@
# name: it
# key: it
# --
it('$1', (${3:}) => {
it('$1', function(${3:}) {
$0
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment