feat(SublimeText2.WebPackages): cache packages
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<snippet>
|
||||
<content><![CDATA[
|
||||
after(function () {
|
||||
$1
|
||||
});$0
|
||||
]]></content>
|
||||
<!-- Optional: Tab trigger to activate the snippet -->
|
||||
<tabTrigger>after</tabTrigger>
|
||||
<!-- Optional: Scope the tab trigger will be active in -->
|
||||
<scope>source.js</scope>
|
||||
<!-- Optional: Description to show in the menu -->
|
||||
<description>After</description>
|
||||
</snippet>
|
@@ -0,0 +1,13 @@
|
||||
<snippet>
|
||||
<content><![CDATA[
|
||||
afterEach(function () {
|
||||
$1
|
||||
});$0
|
||||
]]></content>
|
||||
<!-- Optional: Tab trigger to activate the snippet -->
|
||||
<tabTrigger>aftereach</tabTrigger>
|
||||
<!-- Optional: Scope the tab trigger will be active in -->
|
||||
<scope>source.js</scope>
|
||||
<!-- Optional: Description to show in the menu -->
|
||||
<description>After Each</description>
|
||||
</snippet>
|
@@ -0,0 +1,13 @@
|
||||
<snippet>
|
||||
<content><![CDATA[
|
||||
before(function () {
|
||||
$1
|
||||
});$0
|
||||
]]></content>
|
||||
<!-- Optional: Tab trigger to activate the snippet -->
|
||||
<tabTrigger>before</tabTrigger>
|
||||
<!-- Optional: Scope the tab trigger will be active in -->
|
||||
<scope>source.js</scope>
|
||||
<!-- Optional: Description to show in the menu -->
|
||||
<description>Before</description>
|
||||
</snippet>
|
@@ -0,0 +1,13 @@
|
||||
<snippet>
|
||||
<content><![CDATA[
|
||||
beforeEach(function () {
|
||||
$1
|
||||
});$0
|
||||
]]></content>
|
||||
<!-- Optional: Tab trigger to activate the snippet -->
|
||||
<tabTrigger>beforeeach</tabTrigger>
|
||||
<!-- Optional: Scope the tab trigger will be active in -->
|
||||
<scope>source.js</scope>
|
||||
<!-- Optional: Description to show in the menu -->
|
||||
<description>Before Each</description>
|
||||
</snippet>
|
@@ -0,0 +1,13 @@
|
||||
<snippet>
|
||||
<content><![CDATA[
|
||||
describe('${1:suite}', function () {
|
||||
$2
|
||||
});$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</description>
|
||||
</snippet>
|
@@ -0,0 +1,13 @@
|
||||
<snippet>
|
||||
<content><![CDATA[
|
||||
it('${1:expectation}', function () {
|
||||
$2
|
||||
});
|
||||
]]></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</description>
|
||||
</snippet>
|
Reference in New Issue
Block a user