Skip to content

Commit 0e5fa57

Browse files
committed
Add vitest coverage
1 parent 00ee9ba commit 0e5fa57

179 files changed

Lines changed: 46469 additions & 14 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
2+
<!doctype html>
3+
<html lang="en">
4+
5+
<head>
6+
<title>Code coverage report for anytype-raycast</title>
7+
<meta charset="utf-8" />
8+
<link rel="stylesheet" href="../prettify.css" />
9+
<link rel="stylesheet" href="../base.css" />
10+
<link rel="shortcut icon" type="image/x-icon" href="../favicon.png" />
11+
<meta name="viewport" content="width=device-width, initial-scale=1" />
12+
<style type='text/css'>
13+
.coverage-summary .sorter {
14+
background-image: url(../sort-arrow-sprite.png);
15+
}
16+
</style>
17+
</head>
18+
19+
<body>
20+
<div class='wrapper'>
21+
<div class='pad1'>
22+
<h1><a href="../index.html">All files</a> anytype-raycast</h1>
23+
<div class='clearfix'>
24+
25+
<div class='fl pad1y space-right2'>
26+
<span class="strong">0% </span>
27+
<span class="quiet">Statements</span>
28+
<span class='fraction'>0/22</span>
29+
</div>
30+
31+
32+
<div class='fl pad1y space-right2'>
33+
<span class="strong">50% </span>
34+
<span class="quiet">Branches</span>
35+
<span class='fraction'>1/2</span>
36+
</div>
37+
38+
39+
<div class='fl pad1y space-right2'>
40+
<span class="strong">50% </span>
41+
<span class="quiet">Functions</span>
42+
<span class='fraction'>1/2</span>
43+
</div>
44+
45+
46+
<div class='fl pad1y space-right2'>
47+
<span class="strong">0% </span>
48+
<span class="quiet">Lines</span>
49+
<span class='fraction'>0/22</span>
50+
</div>
51+
52+
53+
</div>
54+
<p class="quiet">
55+
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
56+
</p>
57+
<template id="filterTemplate">
58+
<div class="quiet">
59+
Filter:
60+
<input type="search" id="fileSearch">
61+
</div>
62+
</template>
63+
</div>
64+
<div class='status-line low'></div>
65+
<div class="pad1">
66+
<table class="coverage-summary">
67+
<thead>
68+
<tr>
69+
<th data-col="file" data-fmt="html" data-html="true" class="file">File</th>
70+
<th data-col="pic" data-type="number" data-fmt="html" data-html="true" class="pic"></th>
71+
<th data-col="statements" data-type="number" data-fmt="pct" class="pct">Statements</th>
72+
<th data-col="statements_raw" data-type="number" data-fmt="html" class="abs"></th>
73+
<th data-col="branches" data-type="number" data-fmt="pct" class="pct">Branches</th>
74+
<th data-col="branches_raw" data-type="number" data-fmt="html" class="abs"></th>
75+
<th data-col="functions" data-type="number" data-fmt="pct" class="pct">Functions</th>
76+
<th data-col="functions_raw" data-type="number" data-fmt="html" class="abs"></th>
77+
<th data-col="lines" data-type="number" data-fmt="pct" class="pct">Lines</th>
78+
<th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th>
79+
</tr>
80+
</thead>
81+
<tbody><tr>
82+
<td class="file empty" data-value="raycast-env.d.ts"><a href="raycast-env.d.ts.html">raycast-env.d.ts</a></td>
83+
<td data-value="0" class="pic empty">
84+
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
85+
</td>
86+
<td data-value="0" class="pct empty">0%</td>
87+
<td data-value="0" class="abs empty">0/0</td>
88+
<td data-value="0" class="pct empty">0%</td>
89+
<td data-value="1" class="abs empty">1/1</td>
90+
<td data-value="0" class="pct empty">0%</td>
91+
<td data-value="1" class="abs empty">1/1</td>
92+
<td data-value="0" class="pct empty">0%</td>
93+
<td data-value="0" class="abs empty">0/0</td>
94+
</tr>
95+
96+
<tr>
97+
<td class="file low" data-value="vitest.config.ts"><a href="vitest.config.ts.html">vitest.config.ts</a></td>
98+
<td data-value="0" class="pic low">
99+
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
100+
</td>
101+
<td data-value="0" class="pct low">0%</td>
102+
<td data-value="22" class="abs low">0/22</td>
103+
<td data-value="0" class="pct low">0%</td>
104+
<td data-value="1" class="abs low">0/1</td>
105+
<td data-value="0" class="pct low">0%</td>
106+
<td data-value="1" class="abs low">0/1</td>
107+
<td data-value="0" class="pct low">0%</td>
108+
<td data-value="22" class="abs low">0/22</td>
109+
</tr>
110+
111+
</tbody>
112+
</table>
113+
</div>
114+
<div class='push'></div><!-- for sticky footer -->
115+
</div><!-- /wrapper -->
116+
<div class='footer quiet pad2 space-top1 center small'>
117+
Code coverage generated by
118+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119+
at 2025-07-13T12:54:22.051Z
120+
</div>
121+
<script src="../prettify.js"></script>
122+
<script>
123+
window.onload = function () {
124+
prettyPrint();
125+
};
126+
</script>
127+
<script src="../sorter.js"></script>
128+
<script src="../block-navigation.js"></script>
129+
</body>
130+
</html>
131+
Lines changed: 250 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,250 @@
1+
2+
<!doctype html>
3+
<html lang="en">
4+
5+
<head>
6+
<title>Code coverage report for anytype-raycast/raycast-env.d.ts</title>
7+
<meta charset="utf-8" />
8+
<link rel="stylesheet" href="../prettify.css" />
9+
<link rel="stylesheet" href="../base.css" />
10+
<link rel="shortcut icon" type="image/x-icon" href="../favicon.png" />
11+
<meta name="viewport" content="width=device-width, initial-scale=1" />
12+
<style type='text/css'>
13+
.coverage-summary .sorter {
14+
background-image: url(../sort-arrow-sprite.png);
15+
}
16+
</style>
17+
</head>
18+
19+
<body>
20+
<div class='wrapper'>
21+
<div class='pad1'>
22+
<h1><a href="../index.html">All files</a> / <a href="index.html">anytype-raycast</a> raycast-env.d.ts</h1>
23+
<div class='clearfix'>
24+
25+
<div class='fl pad1y space-right2'>
26+
<span class="strong">0% </span>
27+
<span class="quiet">Statements</span>
28+
<span class='fraction'>0/0</span>
29+
</div>
30+
31+
32+
<div class='fl pad1y space-right2'>
33+
<span class="strong">0% </span>
34+
<span class="quiet">Branches</span>
35+
<span class='fraction'>1/1</span>
36+
</div>
37+
38+
39+
<div class='fl pad1y space-right2'>
40+
<span class="strong">0% </span>
41+
<span class="quiet">Functions</span>
42+
<span class='fraction'>1/1</span>
43+
</div>
44+
45+
46+
<div class='fl pad1y space-right2'>
47+
<span class="strong">0% </span>
48+
<span class="quiet">Lines</span>
49+
<span class='fraction'>0/0</span>
50+
</div>
51+
52+
53+
</div>
54+
<p class="quiet">
55+
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
56+
</p>
57+
<template id="filterTemplate">
58+
<div class="quiet">
59+
Filter:
60+
<input type="search" id="fileSearch">
61+
</div>
62+
</template>
63+
</div>
64+
<div class='status-line low'></div>
65+
<pre><table class="coverage">
66+
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
67+
<a name='L2'></a><a href='#L2'>2</a>
68+
<a name='L3'></a><a href='#L3'>3</a>
69+
<a name='L4'></a><a href='#L4'>4</a>
70+
<a name='L5'></a><a href='#L5'>5</a>
71+
<a name='L6'></a><a href='#L6'>6</a>
72+
<a name='L7'></a><a href='#L7'>7</a>
73+
<a name='L8'></a><a href='#L8'>8</a>
74+
<a name='L9'></a><a href='#L9'>9</a>
75+
<a name='L10'></a><a href='#L10'>10</a>
76+
<a name='L11'></a><a href='#L11'>11</a>
77+
<a name='L12'></a><a href='#L12'>12</a>
78+
<a name='L13'></a><a href='#L13'>13</a>
79+
<a name='L14'></a><a href='#L14'>14</a>
80+
<a name='L15'></a><a href='#L15'>15</a>
81+
<a name='L16'></a><a href='#L16'>16</a>
82+
<a name='L17'></a><a href='#L17'>17</a>
83+
<a name='L18'></a><a href='#L18'>18</a>
84+
<a name='L19'></a><a href='#L19'>19</a>
85+
<a name='L20'></a><a href='#L20'>20</a>
86+
<a name='L21'></a><a href='#L21'>21</a>
87+
<a name='L22'></a><a href='#L22'>22</a>
88+
<a name='L23'></a><a href='#L23'>23</a>
89+
<a name='L24'></a><a href='#L24'>24</a>
90+
<a name='L25'></a><a href='#L25'>25</a>
91+
<a name='L26'></a><a href='#L26'>26</a>
92+
<a name='L27'></a><a href='#L27'>27</a>
93+
<a name='L28'></a><a href='#L28'>28</a>
94+
<a name='L29'></a><a href='#L29'>29</a>
95+
<a name='L30'></a><a href='#L30'>30</a>
96+
<a name='L31'></a><a href='#L31'>31</a>
97+
<a name='L32'></a><a href='#L32'>32</a>
98+
<a name='L33'></a><a href='#L33'>33</a>
99+
<a name='L34'></a><a href='#L34'>34</a>
100+
<a name='L35'></a><a href='#L35'>35</a>
101+
<a name='L36'></a><a href='#L36'>36</a>
102+
<a name='L37'></a><a href='#L37'>37</a>
103+
<a name='L38'></a><a href='#L38'>38</a>
104+
<a name='L39'></a><a href='#L39'>39</a>
105+
<a name='L40'></a><a href='#L40'>40</a>
106+
<a name='L41'></a><a href='#L41'>41</a>
107+
<a name='L42'></a><a href='#L42'>42</a>
108+
<a name='L43'></a><a href='#L43'>43</a>
109+
<a name='L44'></a><a href='#L44'>44</a>
110+
<a name='L45'></a><a href='#L45'>45</a>
111+
<a name='L46'></a><a href='#L46'>46</a>
112+
<a name='L47'></a><a href='#L47'>47</a>
113+
<a name='L48'></a><a href='#L48'>48</a>
114+
<a name='L49'></a><a href='#L49'>49</a>
115+
<a name='L50'></a><a href='#L50'>50</a>
116+
<a name='L51'></a><a href='#L51'>51</a>
117+
<a name='L52'></a><a href='#L52'>52</a>
118+
<a name='L53'></a><a href='#L53'>53</a>
119+
<a name='L54'></a><a href='#L54'>54</a>
120+
<a name='L55'></a><a href='#L55'>55</a>
121+
<a name='L56'></a><a href='#L56'>56</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
122+
<span class="cline-any cline-neutral">&nbsp;</span>
123+
<span class="cline-any cline-neutral">&nbsp;</span>
124+
<span class="cline-any cline-neutral">&nbsp;</span>
125+
<span class="cline-any cline-neutral">&nbsp;</span>
126+
<span class="cline-any cline-neutral">&nbsp;</span>
127+
<span class="cline-any cline-neutral">&nbsp;</span>
128+
<span class="cline-any cline-neutral">&nbsp;</span>
129+
<span class="cline-any cline-neutral">&nbsp;</span>
130+
<span class="cline-any cline-neutral">&nbsp;</span>
131+
<span class="cline-any cline-neutral">&nbsp;</span>
132+
<span class="cline-any cline-neutral">&nbsp;</span>
133+
<span class="cline-any cline-neutral">&nbsp;</span>
134+
<span class="cline-any cline-neutral">&nbsp;</span>
135+
<span class="cline-any cline-neutral">&nbsp;</span>
136+
<span class="cline-any cline-neutral">&nbsp;</span>
137+
<span class="cline-any cline-neutral">&nbsp;</span>
138+
<span class="cline-any cline-neutral">&nbsp;</span>
139+
<span class="cline-any cline-neutral">&nbsp;</span>
140+
<span class="cline-any cline-neutral">&nbsp;</span>
141+
<span class="cline-any cline-neutral">&nbsp;</span>
142+
<span class="cline-any cline-neutral">&nbsp;</span>
143+
<span class="cline-any cline-neutral">&nbsp;</span>
144+
<span class="cline-any cline-neutral">&nbsp;</span>
145+
<span class="cline-any cline-neutral">&nbsp;</span>
146+
<span class="cline-any cline-neutral">&nbsp;</span>
147+
<span class="cline-any cline-neutral">&nbsp;</span>
148+
<span class="cline-any cline-neutral">&nbsp;</span>
149+
<span class="cline-any cline-neutral">&nbsp;</span>
150+
<span class="cline-any cline-neutral">&nbsp;</span>
151+
<span class="cline-any cline-neutral">&nbsp;</span>
152+
<span class="cline-any cline-neutral">&nbsp;</span>
153+
<span class="cline-any cline-neutral">&nbsp;</span>
154+
<span class="cline-any cline-neutral">&nbsp;</span>
155+
<span class="cline-any cline-neutral">&nbsp;</span>
156+
<span class="cline-any cline-neutral">&nbsp;</span>
157+
<span class="cline-any cline-neutral">&nbsp;</span>
158+
<span class="cline-any cline-neutral">&nbsp;</span>
159+
<span class="cline-any cline-neutral">&nbsp;</span>
160+
<span class="cline-any cline-neutral">&nbsp;</span>
161+
<span class="cline-any cline-neutral">&nbsp;</span>
162+
<span class="cline-any cline-neutral">&nbsp;</span>
163+
<span class="cline-any cline-neutral">&nbsp;</span>
164+
<span class="cline-any cline-neutral">&nbsp;</span>
165+
<span class="cline-any cline-neutral">&nbsp;</span>
166+
<span class="cline-any cline-neutral">&nbsp;</span>
167+
<span class="cline-any cline-neutral">&nbsp;</span>
168+
<span class="cline-any cline-neutral">&nbsp;</span>
169+
<span class="cline-any cline-neutral">&nbsp;</span>
170+
<span class="cline-any cline-neutral">&nbsp;</span>
171+
<span class="cline-any cline-neutral">&nbsp;</span>
172+
<span class="cline-any cline-neutral">&nbsp;</span>
173+
<span class="cline-any cline-neutral">&nbsp;</span>
174+
<span class="cline-any cline-neutral">&nbsp;</span>
175+
<span class="cline-any cline-neutral">&nbsp;</span>
176+
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">/// &lt;reference types="@raycast/api"&gt;
177+
&nbsp;
178+
/* 🚧 🚧 🚧
179+
* This file is auto-generated from the extension's manifest.
180+
* Do not modify manually. Instead, update the `package.json` file.
181+
* 🚧 🚧 🚧 */
182+
&nbsp;
183+
/* eslint-disable @typescript-eslint/ban-types */
184+
&nbsp;
185+
type ExtensionPreferences = {
186+
/** Anytype App - The Anytype app on your Mac. */
187+
"anytypeApp"?: import("@raycast/api").Application,
188+
/** Primary Action - Choose the primary action when an object is selected. */
189+
"primaryAction": "show_details" | "open_object",
190+
/** Sort Order - The sort order of objects when displayed as a list. */
191+
"sort": "created_date" | "last_modified_date" | "last_opened_date" | "name",
192+
/** API Limit - The maximum number of objects to fetch from the Anytype API at once. Be careful when changing this, as a large number can cause performance issues. */
193+
"limit": "50" | "100" | "200",
194+
/** Link Display - Choose how to display URLs and email addresses in sidebar: as plain text or as clickable links. */
195+
"linkDisplay": "text" | "link",
196+
/** API URL - The base URL of the Anytype API (default: http://127.0.0.1:31009). */
197+
"apiUrl": string,
198+
/** API Key - Optional API key for the Anytype API. Leave empty to use the built-in authentication flow with your Anytype desktop app, or enter an API key (e.g., from a headless Anytype instance) to use manual authentication. */
199+
"apiKey"?: string
200+
}
201+
&nbsp;
202+
/** Preferences accessible in all the extension's commands */
203+
declare type Preferences = ExtensionPreferences
204+
&nbsp;
205+
declare namespace Preferences {
206+
/** Preferences accessible in the `create-object` command */
207+
export type CreateObject = ExtensionPreferences &amp; {}
208+
/** Preferences accessible in the `browse-spaces` command */
209+
export type BrowseSpaces = ExtensionPreferences &amp; {}
210+
/** Preferences accessible in the `search-anytype` command */
211+
export type SearchAnytype = ExtensionPreferences &amp; {}
212+
/** Preferences accessible in the `add-to-list` command */
213+
export type AddToList = ExtensionPreferences &amp; {}
214+
/** Preferences accessible in the `create-type` command */
215+
export type CreateType = ExtensionPreferences &amp; {}
216+
}
217+
&nbsp;
218+
declare namespace Arguments {
219+
/** Arguments passed to the `create-object` command */
220+
export type CreateObject = {}
221+
/** Arguments passed to the `browse-spaces` command */
222+
export type BrowseSpaces = {}
223+
/** Arguments passed to the `search-anytype` command */
224+
export type SearchAnytype = {}
225+
/** Arguments passed to the `add-to-list` command */
226+
export type AddToList = {}
227+
/** Arguments passed to the `create-type` command */
228+
export type CreateType = {}
229+
}
230+
&nbsp;
231+
&nbsp;</pre></td></tr></table></pre>
232+
233+
<div class='push'></div><!-- for sticky footer -->
234+
</div><!-- /wrapper -->
235+
<div class='footer quiet pad2 space-top1 center small'>
236+
Code coverage generated by
237+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
238+
at 2025-07-13T12:54:22.051Z
239+
</div>
240+
<script src="../prettify.js"></script>
241+
<script>
242+
window.onload = function () {
243+
prettyPrint();
244+
};
245+
</script>
246+
<script src="../sorter.js"></script>
247+
<script src="../block-navigation.js"></script>
248+
</body>
249+
</html>
250+

0 commit comments

Comments
 (0)