forked from angularjs-livetpls/angularjs-webstorm-livetpls
/
Jasmine.xml
40 lines (39 loc) · 2.16 KB
/
Jasmine.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="UTF-8"?>
<templateSet group="Jasmine">
<template name="jasd" value="describe('$describe$', function() { $END$ });" description="Jasmine describe template" toReformat="true" toShortenFQNames="true">
<variable name="describe" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_SCRIPT" value="true" />
</context>
</template>
<template name="jasi" value="it('$should$', function() { $END$ });" description="Jasmine it template" toReformat="true" toShortenFQNames="true">
<variable name="should" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_SCRIPT" value="true" />
</context>
</template>
<template name="jasbi" value="beforeEach(inject(function(_$$rootScope_$other$){ $END$ }));" description="beforeEach with Angular's inject" toReformat="true" toShortenFQNames="true">
<variable name="other" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_SCRIPT" value="true" />
</context>
</template>
<template name="jasbm" value="beforeEach(module($moduleName$)); $END$" description="beforEach with AngularJS module" toReformat="false" toShortenFQNames="true">
<variable name="moduleName" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_SCRIPT" value="true" />
</context>
</template>
<template name="jasb" value="beforeEach(function(){ $END$ });" description="beforeEach" toReformat="true" toShortenFQNames="true">
<context>
<option name="JAVA_SCRIPT" value="true" />
</context>
</template>
<template name="jasii" value="it('$should$', inject(function($injectables$) { $END$ }));" description="Jasmine it template with injectables" toReformat="true" toShortenFQNames="true">
<variable name="should" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="injectables" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_SCRIPT" value="true" />
</context>
</template>
</templateSet>