]> code.delx.au - dotemacs/blobdiff - snippets/js-mode/jasmine-beforeEach-willResolve-async
jasmine async snippets
[dotemacs] / snippets / js-mode / jasmine-beforeEach-willResolve-async
diff --git a/snippets/js-mode/jasmine-beforeEach-willResolve-async b/snippets/js-mode/jasmine-beforeEach-willResolve-async
new file mode 100644 (file)
index 0000000..0a2cfcc
--- /dev/null
@@ -0,0 +1,6 @@
+# name: jasmine-beforeEach-willResolve-async
+# key: bea
+# --
+beforeEach(willResolve(async () => {
+    await ${0:Promise.resolve());
+}));