about summary refs log tree commit diff
path: root/configs/shared/emacs/.emacs.d/snippets/rjsx-mode/jest-test
diff options
context:
space:
mode:
Diffstat (limited to 'configs/shared/emacs/.emacs.d/snippets/rjsx-mode/jest-test')
-rw-r--r--configs/shared/emacs/.emacs.d/snippets/rjsx-mode/jest-test7
1 files changed, 7 insertions, 0 deletions
diff --git a/configs/shared/emacs/.emacs.d/snippets/rjsx-mode/jest-test b/configs/shared/emacs/.emacs.d/snippets/rjsx-mode/jest-test
new file mode 100644
index 000000000000..12ca2e786ded
--- /dev/null
+++ b/configs/shared/emacs/.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