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