Skip to content

Instantly share code, notes, and snippets.

@cyxou
Created June 2, 2014 07:43
Show Gist options
  • Save cyxou/e59d1eff6e358c0f3e02 to your computer and use it in GitHub Desktop.
Save cyxou/e59d1eff6e358c0f3e02 to your computer and use it in GitHub Desktop.
Mocha Before hook
<snippet>
<content><![CDATA[
before(function(${1:done}) {
$2
${3:done();}
});
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>bef</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
<description>Before Snippet</description>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment