Created
November 20, 2014 23:08
-
-
Save gibbage/6680cd8a79a3beec38a3 to your computer and use it in GitHub Desktop.
JavaScript: Jasmine templates for JetBrains IDEs. On OSX save in ~/Library/Preferences/RubyMine60/templates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<templateSet group="JavaScript - Jasmine"> | |
<template name="dd" value="describe('$DESCRIPTION$', function () { $END$ });" description="insert describe block" toReformat="true" toShortenFQNames="true"> | |
<variable name="DESCRIPTION" expression="" defaultValue="" alwaysStopAt="true" /> | |
<context> | |
<option name="JAVA_SCRIPT" value="true" /> | |
</context> | |
</template> | |
<template name="it" value="it('$DESCRIPTION$', function () { $END$ });" description="insert new assertion" toReformat="false" toShortenFQNames="true"> | |
<variable name="DESCRIPTION" expression="" defaultValue="" alwaysStopAt="true" /> | |
<context> | |
<option name="JAVA_SCRIPT" value="true" /> | |
</context> | |
</template> | |
<template name="b4" value="beforeEach(function () { $END$ });" description="insert beforeEach block" toReformat="false" toShortenFQNames="true"> | |
<context> | |
<option name="JAVA_SCRIPT" value="true" /> | |
</context> | |
</template> | |
</templateSet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment