Skip to content

Instantly share code, notes, and snippets.

@bittersweetryan
Created April 15, 2014 16:22
Show Gist options
  • Save bittersweetryan/10745221 to your computer and use it in GitHub Desktop.
Save bittersweetryan/10745221 to your computer and use it in GitHub Desktop.
<snippet>
<content><![CDATA[describe( '$1', function(){
$0
} );]]></content>
<!-- Optional: Tab trigger to activate the snippet -->
<tabTrigger>describe</tabTrigger>
<!-- Optional: Scope the tab trigger will be active in -->
<scope>source.js</scope>
<!-- Optional: Description to show in the menu -->
<description>describe bdd statement</description>
</snippet>
<snippet>
<content><![CDATA[it( '$1', function(){
$0
} );]]></content>
<!-- Optional: Tab trigger to activate the snippet -->
<tabTrigger>it</tabTrigger>
<!-- Optional: Scope the tab trigger will be active in -->
<scope>source.js</scope>
<!-- Optional: Description to show in the menu -->
<description>it bdd statement</description>
</snippet>
<snippet>
<content><![CDATA[console.log( $0 );]]></content>
<!-- Optional: Tab trigger to activate the snippet -->
<tabTrigger>log</tabTrigger>
<!-- Optional: Scope the tab trigger will be active in -->
<scope>source.js</scope>
<!-- Optional: Description to show in the menu -->
<description>console.log statement</description>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment