about summary refs log tree commit diff
path: root/emacs.d/snippets/rjsx-mode/jest-test
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/snippets/rjsx-mode/jest-test')
-rw-r--r--emacs.d/snippets/rjsx-mode/jest-test7
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs.d/snippets/rjsx-mode/jest-test b/emacs.d/snippets/rjsx-mode/jest-test
new file mode 100644
index 000000000000..12ca2e786ded
--- /dev/null
+++ b/emacs.d/snippets/rjsx-mode/jest-test
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: Jest / Jasmine test
+# key: tst
+# --
+test('$1', () => {
+  expect($2).toBe($3)
+})
\ No newline at end of file