Browse Source

Add Javascript mocha test snippets

master
ßingen 6 years ago
parent
commit
22d0953525
2 changed files with 16 additions and 0 deletions
  1. +8
    -0
      snippets/js2-mode/context.yasnippet
  2. +8
    -0
      snippets/js2-mode/it.yasnippet

+ 8
- 0
snippets/js2-mode/context.yasnippet View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# contributor: ßingen
# key: ctx
# name: context test unit
# --
context('$1', () => {
$0
})

+ 8
- 0
snippets/js2-mode/it.yasnippet View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# contributor: ßingen
# key: it
# name: it test unit
# --
it('$1', async () => {
$0
})

Loading…
Cancel
Save