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