Skip to content

Commit

Permalink
added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DaKingKong committed Jan 15, 2025
1 parent 20d3d7a commit 0741a2c
Show file tree
Hide file tree
Showing 28 changed files with 6,370 additions and 2,213 deletions.
1,469 changes: 907 additions & 562 deletions coverage/clover.xml

Large diffs are not rendered by default.

28 changes: 16 additions & 12 deletions coverage/coverage-final.json

Large diffs are not rendered by default.

106 changes: 53 additions & 53 deletions coverage/lcov-report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,30 @@ <h1>All files</h1>
<div class='clearfix'>

<div class='fl pad1y space-right2'>
<span class="strong">80% </span>
<span class="strong">66.95% </span>
<span class="quiet">Statements</span>
<span class='fraction'>544/680</span>
<span class='fraction'>693/1035</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">66.83% </span>
<span class="strong">51.23% </span>
<span class="quiet">Branches</span>
<span class='fraction'>129/193</span>
<span class='fraction'>208/406</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">76.78% </span>
<span class="strong">65.11% </span>
<span class="quiet">Functions</span>
<span class='fraction'>43/56</span>
<span class='fraction'>56/86</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">80.5% </span>
<span class="strong">67.76% </span>
<span class="quiet">Lines</span>
<span class='fraction'>541/672</span>
<span class='fraction'>681/1005</span>
</div>


Expand All @@ -61,7 +61,7 @@ <h1>All files</h1>
</div>
</template>
</div>
<div class='status-line high'></div>
<div class='status-line medium'></div>
<div class="pad1">
<table class="coverage-summary">
<thead>
Expand All @@ -79,63 +79,63 @@ <h1>All files</h1>
</tr>
</thead>
<tbody><tr>
<td class="file high" data-value="src"><a href="src/index.html">src</a></td>
<td data-value="90.56" class="pic high">
<div class="chart"><div class="cover-fill" style="width: 90%"></div><div class="cover-empty" style="width: 10%"></div></div>
<td class="file medium" data-value="src"><a href="src/index.html">src</a></td>
<td data-value="63.41" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 63%"></div><div class="cover-empty" style="width: 37%"></div></div>
</td>
<td data-value="90.56" class="pct high">90.56%</td>
<td data-value="265" class="abs high">240/265</td>
<td data-value="83.33" class="pct high">83.33%</td>
<td data-value="42" class="abs high">35/42</td>
<td data-value="75" class="pct medium">75%</td>
<td data-value="20" class="abs medium">15/20</td>
<td data-value="90.9" class="pct high">90.9%</td>
<td data-value="264" class="abs high">240/264</td>
<td data-value="63.41" class="pct medium">63.41%</td>
<td data-value="451" class="abs medium">286/451</td>
<td data-value="48.45" class="pct low">48.45%</td>
<td data-value="97" class="abs low">47/97</td>
<td data-value="55.55" class="pct medium">55.55%</td>
<td data-value="27" class="abs medium">15/27</td>
<td data-value="63.47" class="pct medium">63.47%</td>
<td data-value="449" class="abs medium">285/449</td>
</tr>

<tr>
<td class="file medium" data-value="src/adapters/pipedrive"><a href="src/adapters/pipedrive/index.html">src/adapters/pipedrive</a></td>
<td data-value="75.83" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 75%"></div><div class="cover-empty" style="width: 25%"></div></div>
<td data-value="67.45" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 67%"></div><div class="cover-empty" style="width: 33%"></div></div>
</td>
<td data-value="75.83" class="pct medium">75.83%</td>
<td data-value="120" class="abs medium">91/120</td>
<td data-value="55.1" class="pct medium">55.1%</td>
<td data-value="49" class="abs medium">27/49</td>
<td data-value="85.71" class="pct high">85.71%</td>
<td data-value="14" class="abs high">12/14</td>
<td data-value="75.63" class="pct medium">75.63%</td>
<td data-value="119" class="abs medium">90/119</td>
<td data-value="67.45" class="pct medium">67.45%</td>
<td data-value="212" class="abs medium">143/212</td>
<td data-value="47.16" class="pct low">47.16%</td>
<td data-value="159" class="abs low">75/159</td>
<td data-value="66.66" class="pct medium">66.66%</td>
<td data-value="27" class="abs medium">18/27</td>
<td data-value="70.68" class="pct medium">70.68%</td>
<td data-value="191" class="abs medium">135/191</td>
</tr>

<tr>
<td class="file medium" data-value="src/core"><a href="src/core/index.html">src/core</a></td>
<td data-value="73.07" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 73%"></div><div class="cover-empty" style="width: 27%"></div></div>
<td data-value="70.83" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 70%"></div><div class="cover-empty" style="width: 30%"></div></div>
</td>
<td data-value="73.07" class="pct medium">73.07%</td>
<td data-value="234" class="abs medium">171/234</td>
<td data-value="67.77" class="pct medium">67.77%</td>
<td data-value="90" class="abs medium">61/90</td>
<td data-value="66.66" class="pct medium">66.66%</td>
<td data-value="15" class="abs medium">10/15</td>
<td data-value="74.12" class="pct medium">74.12%</td>
<td data-value="228" class="abs medium">169/228</td>
<td data-value="70.83" class="pct medium">70.83%</td>
<td data-value="288" class="abs medium">204/288</td>
<td data-value="61.78" class="pct medium">61.78%</td>
<td data-value="123" class="abs medium">76/123</td>
<td data-value="68.18" class="pct medium">68.18%</td>
<td data-value="22" class="abs medium">15/22</td>
<td data-value="71.53" class="pct medium">71.53%</td>
<td data-value="281" class="abs medium">201/281</td>
</tr>

<tr>
<td class="file medium" data-value="src/lib"><a href="src/lib/index.html">src/lib</a></td>
<td data-value="61.22" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 61%"></div><div class="cover-empty" style="width: 39%"></div></div>
<td data-value="65.21" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 65%"></div><div class="cover-empty" style="width: 35%"></div></div>
</td>
<td data-value="61.22" class="pct medium">61.22%</td>
<td data-value="49" class="abs medium">30/49</td>
<td data-value="50" class="pct medium">50%</td>
<td data-value="12" class="abs medium">6/12</td>
<td data-value="85.71" class="pct high">85.71%</td>
<td data-value="7" class="abs high">6/7</td>
<td data-value="61.22" class="pct medium">61.22%</td>
<td data-value="49" class="abs medium">30/49</td>
<td data-value="65.21" class="pct medium">65.21%</td>
<td data-value="69" class="abs medium">45/69</td>
<td data-value="37.03" class="pct low">37.03%</td>
<td data-value="27" class="abs low">10/27</td>
<td data-value="80" class="pct high">80%</td>
<td data-value="10" class="abs high">8/10</td>
<td data-value="65.21" class="pct medium">65.21%</td>
<td data-value="69" class="abs medium">45/69</td>
</tr>

<tr>
Expand All @@ -144,13 +144,13 @@ <h1>All files</h1>
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="12" class="abs high">12/12</td>
<td data-value="15" class="abs high">15/15</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="0" class="abs high">0/0</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="0" class="abs high">0/0</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="12" class="abs high">12/12</td>
<td data-value="15" class="abs high">15/15</td>
</tr>

</tbody>
Expand All @@ -161,7 +161,7 @@ <h1>All files</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-07-01T05:04:49.970Z
at 2025-01-15T09:09:56.058Z
</div>
<script src="prettify.js"></script>
<script>
Expand Down
38 changes: 19 additions & 19 deletions coverage/lcov-report/src/adapters/pipedrive/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,30 @@ <h1><a href="../../../index.html">All files</a> src/adapters/pipedrive</h1>
<div class='clearfix'>

<div class='fl pad1y space-right2'>
<span class="strong">75.83% </span>
<span class="strong">67.45% </span>
<span class="quiet">Statements</span>
<span class='fraction'>91/120</span>
<span class='fraction'>143/212</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">55.1% </span>
<span class="strong">47.16% </span>
<span class="quiet">Branches</span>
<span class='fraction'>27/49</span>
<span class='fraction'>75/159</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">85.71% </span>
<span class="strong">66.66% </span>
<span class="quiet">Functions</span>
<span class='fraction'>12/14</span>
<span class='fraction'>18/27</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">75.63% </span>
<span class="strong">70.68% </span>
<span class="quiet">Lines</span>
<span class='fraction'>90/119</span>
<span class='fraction'>135/191</span>
</div>


Expand Down Expand Up @@ -80,17 +80,17 @@ <h1><a href="../../../index.html">All files</a> src/adapters/pipedrive</h1>
</thead>
<tbody><tr>
<td class="file medium" data-value="index.js"><a href="index.js.html">index.js</a></td>
<td data-value="75.83" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 75%"></div><div class="cover-empty" style="width: 25%"></div></div>
<td data-value="67.45" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 67%"></div><div class="cover-empty" style="width: 33%"></div></div>
</td>
<td data-value="75.83" class="pct medium">75.83%</td>
<td data-value="120" class="abs medium">91/120</td>
<td data-value="55.1" class="pct medium">55.1%</td>
<td data-value="49" class="abs medium">27/49</td>
<td data-value="85.71" class="pct high">85.71%</td>
<td data-value="14" class="abs high">12/14</td>
<td data-value="75.63" class="pct medium">75.63%</td>
<td data-value="119" class="abs medium">90/119</td>
<td data-value="67.45" class="pct medium">67.45%</td>
<td data-value="212" class="abs medium">143/212</td>
<td data-value="47.16" class="pct low">47.16%</td>
<td data-value="159" class="abs low">75/159</td>
<td data-value="66.66" class="pct medium">66.66%</td>
<td data-value="27" class="abs medium">18/27</td>
<td data-value="70.68" class="pct medium">70.68%</td>
<td data-value="191" class="abs medium">135/191</td>
</tr>

</tbody>
Expand All @@ -101,7 +101,7 @@ <h1><a href="../../../index.html">All files</a> src/adapters/pipedrive</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-07-01T05:04:49.970Z
at 2025-01-15T09:09:56.058Z
</div>
<script src="../../../prettify.js"></script>
<script>
Expand Down
Loading

0 comments on commit 0741a2c

Please sign in to comment.