bexio 3.8.0 → 3.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/coverage/index.html +18 -18
- package/jest-html-reporters-attach/jest_html_reporters/result.js +1 -1
- package/junit.xml +185 -179
- package/lib/interfaces/BaseStatic.d.ts +1 -1
- package/lib/resources/Invoices.d.ts +10 -0
- package/lib/resources/Invoices.js +14 -0
- package/lib/resources/Invoices.js.map +1 -1
- package/lib/tests/Invoices.test.js +25 -0
- package/lib/tests/Invoices.test.js.map +1 -1
- package/package.json +1 -1
package/coverage/index.html
CHANGED
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">38.
|
|
26
|
+
<span class="strong">38.4% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>240/625</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">30.93% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>43/139</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">53.09% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>103/194</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">38.
|
|
47
|
+
<span class="strong">38.58% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>240/622</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -110,17 +110,17 @@
|
|
|
110
110
|
|
|
111
111
|
<tr>
|
|
112
112
|
<td class="file medium" data-value="src/resources"><a href="src/resources/index.html">src/resources</a></td>
|
|
113
|
-
<td data-value="79.
|
|
113
|
+
<td data-value="79.82" class="pic medium">
|
|
114
114
|
<div class="chart"><div class="cover-fill" style="width: 79%"></div><div class="cover-empty" style="width: 21%"></div></div>
|
|
115
115
|
</td>
|
|
116
|
-
<td data-value="79.
|
|
117
|
-
<td data-value="
|
|
118
|
-
<td data-value="
|
|
119
|
-
<td data-value="
|
|
120
|
-
<td data-value="67.
|
|
121
|
-
<td data-value="
|
|
122
|
-
<td data-value="79.
|
|
123
|
-
<td data-value="
|
|
116
|
+
<td data-value="79.82" class="pct medium">79.82%</td>
|
|
117
|
+
<td data-value="228" class="abs medium">182/228</td>
|
|
118
|
+
<td data-value="82.6" class="pct high">82.6%</td>
|
|
119
|
+
<td data-value="23" class="abs high">19/23</td>
|
|
120
|
+
<td data-value="67.4" class="pct medium">67.4%</td>
|
|
121
|
+
<td data-value="135" class="abs medium">91/135</td>
|
|
122
|
+
<td data-value="79.82" class="pct medium">79.82%</td>
|
|
123
|
+
<td data-value="228" class="abs medium">182/228</td>
|
|
124
124
|
</tr>
|
|
125
125
|
|
|
126
126
|
</tbody>
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
132
132
|
Code coverage generated by
|
|
133
133
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
134
|
-
at 2026-05-
|
|
134
|
+
at 2026-05-28T21:33:14.325Z
|
|
135
135
|
</div>
|
|
136
136
|
<script src="prettify.js"></script>
|
|
137
137
|
<script>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
window.jest_html_reporters_callback__({"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":29,"numPassedTests":136,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":29,"numTotalTests":136,"startTime":1778506264534,"success":false,"testResults":[{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506273659,"loadTestEnvironmentEnd":1778506265462,"loadTestEnvironmentStart":1778506265031,"runtime":8196,"setupAfterEnvEnd":1778506265896,"setupAfterEnvStart":1778506265896,"setupFilesEnd":1778506265463,"setupFilesStart":1778506265463,"slow":true,"start":1778506265463},"testFilePath":"/home/mathias/Github/bexio/src/tests/DefaultPositions.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["DefaultPositions"],"duration":16,"failureMessages":[],"fullName":"DefaultPositions Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":11,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506273687,"loadTestEnvironmentEnd":1778506265620,"loadTestEnvironmentStart":1778506265039,"runtime":8066,"setupAfterEnvEnd":1778506266201,"setupAfterEnvStart":1778506266201,"setupFilesEnd":1778506265621,"setupFilesStart":1778506265621,"slow":true,"start":1778506265621},"testFilePath":"/home/mathias/Github/bexio/src/tests/BillsV4.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["BillsV4"],"duration":16,"failureMessages":[],"fullName":"BillsV4 Should use init the base correctly","status":"passed","title":"Should use init the base correctly"},{"ancestorTitles":["BillsV4","list"],"duration":6,"failureMessages":[],"fullName":"BillsV4 list Should call request with GET","status":"passed","title":"Should call request with GET"},{"ancestorTitles":["BillsV4","list"],"duration":3,"failureMessages":[],"fullName":"BillsV4 list Should pass options to request","status":"passed","title":"Should pass options to request"},{"ancestorTitles":["BillsV4","list"],"duration":4,"failureMessages":[],"fullName":"BillsV4 list should list bills with options","status":"passed","title":"should list bills with options"},{"ancestorTitles":["BillsV4","updateStatus"],"duration":4,"failureMessages":[],"fullName":"BillsV4 updateStatus Should call request with PUT and correct path","status":"passed","title":"Should call request with PUT and correct path"},{"ancestorTitles":["BillsV4","executeAction"],"duration":3,"failureMessages":[],"fullName":"BillsV4 executeAction Should call request with POST and correct path and data","status":"passed","title":"Should call request with POST and correct path and data"},{"ancestorTitles":["BillsV4","validateDocumentNumber"],"duration":2,"failureMessages":[],"fullName":"BillsV4 validateDocumentNumber Should call request with GET and correct path and data","status":"passed","title":"Should call request with GET and correct path and data"},{"ancestorTitles":["BillsV4","search"],"duration":29,"failureMessages":[],"fullName":"BillsV4 search Should throw not implemented error","status":"passed","title":"Should throw not implemented error"},{"ancestorTitles":["BillsV4","updateStatus"],"duration":4,"failureMessages":[],"fullName":"BillsV4 updateStatus Should call request with PUT and correct path","status":"passed","title":"Should call request with PUT and correct path"},{"ancestorTitles":["BillsV4","executeAction"],"duration":2,"failureMessages":[],"fullName":"BillsV4 executeAction Should call request with POST and correct path and data","status":"passed","title":"Should call request with POST and correct path and data"},{"ancestorTitles":["BillsV4","validateDocumentNumber"],"duration":3,"failureMessages":[],"fullName":"BillsV4 validateDocumentNumber Should call request with GET and correct path and query","status":"passed","title":"Should call request with GET and correct path and query"}]},{"numFailingTests":0,"numPassingTests":8,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506273697,"loadTestEnvironmentEnd":1778506265598,"loadTestEnvironmentStart":1778506265022,"runtime":8097,"setupAfterEnvEnd":1778506266061,"setupAfterEnvStart":1778506266061,"setupFilesEnd":1778506265600,"setupFilesStart":1778506265600,"slow":true,"start":1778506265600},"testFilePath":"/home/mathias/Github/bexio/src/tests/Taxes.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Taxes"],"duration":16,"failureMessages":[],"fullName":"Taxes should list taxes","status":"passed","title":"should list taxes"},{"ancestorTitles":["Taxes"],"duration":1,"failureMessages":[],"fullName":"Taxes should list taxes with parameters","status":"passed","title":"should list taxes with parameters"},{"ancestorTitles":["Taxes"],"duration":2,"failureMessages":[],"fullName":"Taxes should show a tax","status":"passed","title":"should show a tax"},{"ancestorTitles":["Taxes"],"duration":6,"failureMessages":[],"fullName":"Taxes should delete a tax","status":"passed","title":"should delete a tax"},{"ancestorTitles":["Taxes"],"duration":28,"failureMessages":[],"fullName":"Taxes should throw error for unimplemented search","status":"passed","title":"should throw error for unimplemented search"},{"ancestorTitles":["Taxes"],"duration":3,"failureMessages":[],"fullName":"Taxes should throw error for unimplemented create","status":"passed","title":"should throw error for unimplemented create"},{"ancestorTitles":["Taxes"],"duration":3,"failureMessages":[],"fullName":"Taxes should throw error for unimplemented overwrite","status":"passed","title":"should throw error for unimplemented overwrite"},{"ancestorTitles":["Taxes"],"duration":1,"failureMessages":[],"fullName":"Taxes should throw error for unimplemented edit","status":"passed","title":"should throw error for unimplemented edit"}]},{"numFailingTests":0,"numPassingTests":9,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506273941,"loadTestEnvironmentEnd":1778506265554,"loadTestEnvironmentStart":1778506265015,"runtime":8385,"setupAfterEnvEnd":1778506265945,"setupAfterEnvStart":1778506265945,"setupFilesEnd":1778506265556,"setupFilesStart":1778506265556,"slow":true,"start":1778506265556},"testFilePath":"/home/mathias/Github/bexio/src/tests/BankAccounts.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["BankAccounts"],"duration":10,"failureMessages":[],"fullName":"BankAccounts Should use init the base correctly","status":"passed","title":"Should use init the base correctly"},{"ancestorTitles":["BankAccounts","list"],"duration":4,"failureMessages":[],"fullName":"BankAccounts list Should call request with GET","status":"passed","title":"Should call request with GET"},{"ancestorTitles":["BankAccounts","list"],"duration":2,"failureMessages":[],"fullName":"BankAccounts list Should pass options to request","status":"passed","title":"Should pass options to request"},{"ancestorTitles":["BankAccounts","show"],"duration":2,"failureMessages":[],"fullName":"BankAccounts show Should call request with GET and correct path","status":"passed","title":"Should call request with GET and correct path"},{"ancestorTitles":["BankAccounts","Unsupported methods"],"duration":27,"failureMessages":[],"fullName":"BankAccounts Unsupported methods search should throw error","status":"passed","title":"search should throw error"},{"ancestorTitles":["BankAccounts","Unsupported methods"],"duration":8,"failureMessages":[],"fullName":"BankAccounts Unsupported methods create should throw error","status":"passed","title":"create should throw error"},{"ancestorTitles":["BankAccounts","Unsupported methods"],"duration":3,"failureMessages":[],"fullName":"BankAccounts Unsupported methods overwrite should throw error","status":"passed","title":"overwrite should throw error"},{"ancestorTitles":["BankAccounts","Unsupported methods"],"duration":6,"failureMessages":[],"fullName":"BankAccounts Unsupported methods edit should throw error","status":"passed","title":"edit should throw error"},{"ancestorTitles":["BankAccounts","Unsupported methods"],"duration":2,"failureMessages":[],"fullName":"BankAccounts Unsupported methods delete should throw error","status":"passed","title":"delete should throw error"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506273982,"loadTestEnvironmentEnd":1778506265696,"loadTestEnvironmentStart":1778506265081,"runtime":8284,"setupAfterEnvEnd":1778506266393,"setupAfterEnvStart":1778506266393,"setupFilesEnd":1778506265698,"setupFilesStart":1778506265698,"slow":true,"start":1778506265698},"testFilePath":"/home/mathias/Github/bexio/src/tests/ContactRelations.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["ContactRelations"],"duration":19,"failureMessages":[],"fullName":"ContactRelations Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":9,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506274005,"loadTestEnvironmentEnd":1778506265448,"loadTestEnvironmentStart":1778506265019,"runtime":8555,"setupAfterEnvEnd":1778506265886,"setupAfterEnvStart":1778506265886,"setupFilesEnd":1778506265450,"setupFilesStart":1778506265450,"slow":true,"start":1778506265450},"testFilePath":"/home/mathias/Github/bexio/src/tests/Accounts.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Accounts"],"duration":8,"failureMessages":[],"fullName":"Accounts Should use init the base correctly","status":"passed","title":"Should use init the base correctly"},{"ancestorTitles":["Accounts","list"],"duration":3,"failureMessages":[],"fullName":"Accounts list Should call request with GET","status":"passed","title":"Should call request with GET"},{"ancestorTitles":["Accounts","list"],"duration":1,"failureMessages":[],"fullName":"Accounts list Should pass options to request","status":"passed","title":"Should pass options to request"},{"ancestorTitles":["Accounts","search"],"duration":1,"failureMessages":[],"fullName":"Accounts search Should call request with POST and /search","status":"passed","title":"Should call request with POST and /search"},{"ancestorTitles":["Accounts","unimplemented methods"],"duration":18,"failureMessages":[],"fullName":"Accounts unimplemented methods should throw for show","status":"passed","title":"should throw for show"},{"ancestorTitles":["Accounts","unimplemented methods"],"duration":3,"failureMessages":[],"fullName":"Accounts unimplemented methods should throw for create","status":"passed","title":"should throw for create"},{"ancestorTitles":["Accounts","unimplemented methods"],"duration":2,"failureMessages":[],"fullName":"Accounts unimplemented methods should throw for overwrite","status":"passed","title":"should throw for overwrite"},{"ancestorTitles":["Accounts","unimplemented methods"],"duration":3,"failureMessages":[],"fullName":"Accounts unimplemented methods should throw for edit","status":"passed","title":"should throw for edit"},{"ancestorTitles":["Accounts","unimplemented methods"],"duration":3,"failureMessages":[],"fullName":"Accounts unimplemented methods should throw for delete","status":"passed","title":"should throw for delete"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506274171,"loadTestEnvironmentEnd":1778506273848,"loadTestEnvironmentStart":1778506273819,"runtime":322,"setupAfterEnvEnd":1778506273942,"setupAfterEnvStart":1778506273942,"setupFilesEnd":1778506273849,"setupFilesStart":1778506273849,"slow":false,"start":1778506273849},"testFilePath":"/home/mathias/Github/bexio/src/tests/Timetrackings.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Timetrackings"],"duration":3,"failureMessages":[],"fullName":"Timetrackings Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":10,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506274183,"loadTestEnvironmentEnd":1778506265409,"loadTestEnvironmentStart":1778506265002,"runtime":8773,"setupAfterEnvEnd":1778506265940,"setupAfterEnvStart":1778506265940,"setupFilesEnd":1778506265410,"setupFilesStart":1778506265410,"slow":true,"start":1778506265410},"testFilePath":"/home/mathias/Github/bexio/src/tests/OutgoingPayments.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["OutgoingPayments"],"duration":11,"failureMessages":[],"fullName":"OutgoingPayments Should use init the base correctly","status":"passed","title":"Should use init the base correctly"},{"ancestorTitles":["OutgoingPayments","list"],"duration":5,"failureMessages":[],"fullName":"OutgoingPayments list Should call request with GET","status":"passed","title":"Should call request with GET"},{"ancestorTitles":["OutgoingPayments","search"],"duration":20,"failureMessages":[],"fullName":"OutgoingPayments search Should throw not implemented error","status":"passed","title":"Should throw not implemented error"},{"ancestorTitles":["OutgoingPayments","show"],"duration":2,"failureMessages":[],"fullName":"OutgoingPayments show Should call request with GET and correct path","status":"passed","title":"Should call request with GET and correct path"},{"ancestorTitles":["OutgoingPayments","create"],"duration":2,"failureMessages":[],"fullName":"OutgoingPayments create Should call request with POST and correct data","status":"passed","title":"Should call request with POST and correct data"},{"ancestorTitles":["OutgoingPayments","update"],"duration":2,"failureMessages":[],"fullName":"OutgoingPayments update Should call request with PUT and correct data","status":"passed","title":"Should call request with PUT and correct data"},{"ancestorTitles":["OutgoingPayments","delete"],"duration":2,"failureMessages":[],"fullName":"OutgoingPayments delete Should call request with DELETE and correct path","status":"passed","title":"Should call request with DELETE and correct path"},{"ancestorTitles":["OutgoingPayments","cancel"],"duration":1,"failureMessages":[],"fullName":"OutgoingPayments cancel Should call request with POST and correct path","status":"passed","title":"Should call request with POST and correct path"},{"ancestorTitles":["OutgoingPayments","overwrite"],"duration":3,"failureMessages":[],"fullName":"OutgoingPayments overwrite Should throw not implemented error","status":"passed","title":"Should throw not implemented error"},{"ancestorTitles":["OutgoingPayments","edit"],"duration":3,"failureMessages":[],"fullName":"OutgoingPayments edit Should throw not implemented error","status":"passed","title":"Should throw not implemented error"}]},{"numFailingTests":0,"numPassingTests":12,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506274263,"loadTestEnvironmentEnd":1778506265700,"loadTestEnvironmentStart":1778506265096,"runtime":8561,"setupAfterEnvEnd":1778506266279,"setupAfterEnvStart":1778506266279,"setupFilesEnd":1778506265702,"setupFilesStart":1778506265702,"slow":true,"start":1778506265702},"testFilePath":"/home/mathias/Github/bexio/src/tests/Invoices.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Invoices"],"duration":12,"failureMessages":[],"fullName":"Invoices Should use init the base correctly","status":"passed","title":"Should use init the base correctly"},{"ancestorTitles":["Invoices","send"],"duration":5,"failureMessages":[],"fullName":"Invoices send Should call request with POST and correct path","status":"passed","title":"Should call request with POST and correct path"},{"ancestorTitles":["Invoices","issue"],"duration":2,"failureMessages":[],"fullName":"Invoices issue Should call request with POST and correct path","status":"passed","title":"Should call request with POST and correct path"},{"ancestorTitles":["Invoices","markAsSent"],"duration":2,"failureMessages":[],"fullName":"Invoices markAsSent Should call request with POST and correct path","status":"passed","title":"Should call request with POST and correct path"},{"ancestorTitles":["Invoices","revertIssue"],"duration":2,"failureMessages":[],"fullName":"Invoices revertIssue Should call request with POST and correct path","status":"passed","title":"Should call request with POST and correct path"},{"ancestorTitles":["Invoices","createPayment"],"duration":2,"failureMessages":[],"fullName":"Invoices createPayment Should call request with POST and correct path and formatted data","status":"passed","title":"Should call request with POST and correct path and formatted data"},{"ancestorTitles":["Invoices","createPayment"],"duration":2,"failureMessages":[],"fullName":"Invoices createPayment Should call request without optional parameters","status":"passed","title":"Should call request without optional parameters"},{"ancestorTitles":["Invoices","getPayment"],"duration":2,"failureMessages":[],"fullName":"Invoices getPayment Should call request with GET and correct path","status":"passed","title":"Should call request with GET and correct path"},{"ancestorTitles":["Invoices","deletePayment"],"duration":2,"failureMessages":[],"fullName":"Invoices deletePayment Should call request with DELETE and correct path","status":"passed","title":"Should call request with DELETE and correct path"},{"ancestorTitles":["Invoices","createDefaultPosition"],"duration":3,"failureMessages":[],"fullName":"Invoices createDefaultPosition Should call request with POST and correct path","status":"passed","title":"Should call request with POST and correct path"},{"ancestorTitles":["Invoices","createItemPosition"],"duration":4,"failureMessages":[],"fullName":"Invoices createItemPosition Should call request with POST and correct path","status":"passed","title":"Should call request with POST and correct path"},{"ancestorTitles":["Invoices","createTextPosition"],"duration":3,"failureMessages":[],"fullName":"Invoices createTextPosition Should call request with POST and correct path","status":"passed","title":"Should call request with POST and correct path"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506274323,"loadTestEnvironmentEnd":1778506274000,"loadTestEnvironmentStart":1778506273991,"runtime":322,"setupAfterEnvEnd":1778506274040,"setupAfterEnvStart":1778506274040,"setupFilesEnd":1778506274001,"setupFilesStart":1778506274001,"slow":false,"start":1778506274001},"testFilePath":"/home/mathias/Github/bexio/src/tests/ContactTypes.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["ContactTypes"],"duration":3,"failureMessages":[],"fullName":"ContactTypes Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506274375,"loadTestEnvironmentEnd":1778506274010,"loadTestEnvironmentStart":1778506273996,"runtime":365,"setupAfterEnvEnd":1778506274055,"setupAfterEnvStart":1778506274055,"setupFilesEnd":1778506274010,"setupFilesStart":1778506274010,"slow":false,"start":1778506274010},"testFilePath":"/home/mathias/Github/bexio/src/tests/Currencies.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Currencies"],"duration":2,"failureMessages":[],"fullName":"Currencies Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506274425,"loadTestEnvironmentEnd":1778506265607,"loadTestEnvironmentStart":1778506265052,"runtime":8816,"setupAfterEnvEnd":1778506266071,"setupAfterEnvStart":1778506266071,"setupFilesEnd":1778506265609,"setupFilesStart":1778506265609,"slow":true,"start":1778506265609},"testFilePath":"/home/mathias/Github/bexio/src/tests/ProjectStatuses.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["ProjectStatuses"],"duration":23,"failureMessages":[],"fullName":"ProjectStatuses Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506274447,"loadTestEnvironmentEnd":1778506274037,"loadTestEnvironmentStart":1778506274022,"runtime":410,"setupAfterEnvEnd":1778506274089,"setupAfterEnvStart":1778506274089,"setupFilesEnd":1778506274037,"setupFilesStart":1778506274037,"slow":false,"start":1778506274037},"testFilePath":"/home/mathias/Github/bexio/src/tests/Projects.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Projects"],"duration":2,"failureMessages":[],"fullName":"Projects Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506274441,"loadTestEnvironmentEnd":1778506273815,"loadTestEnvironmentStart":1778506273783,"runtime":626,"setupAfterEnvEnd":1778506273889,"setupAfterEnvStart":1778506273889,"setupFilesEnd":1778506273815,"setupFilesStart":1778506273815,"slow":false,"start":1778506273815},"testFilePath":"/home/mathias/Github/bexio/src/tests/ContactGroups.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["ContactGroups"],"duration":5,"failureMessages":[],"fullName":"ContactGroups Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506274465,"loadTestEnvironmentEnd":1778506274187,"loadTestEnvironmentStart":1778506274181,"runtime":278,"setupAfterEnvEnd":1778506274216,"setupAfterEnvStart":1778506274216,"setupFilesEnd":1778506274187,"setupFilesStart":1778506274187,"slow":false,"start":1778506274187},"testFilePath":"/home/mathias/Github/bexio/src/tests/Expenses.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Expenses"],"duration":2,"failureMessages":[],"fullName":"Expenses Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506274465,"loadTestEnvironmentEnd":1778506273826,"loadTestEnvironmentStart":1778506273808,"runtime":639,"setupAfterEnvEnd":1778506273889,"setupAfterEnvStart":1778506273889,"setupFilesEnd":1778506273826,"setupFilesStart":1778506273826,"slow":false,"start":1778506273826},"testFilePath":"/home/mathias/Github/bexio/src/tests/ProjectTypes.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["ProjectTypes"],"duration":9,"failureMessages":[],"fullName":"ProjectTypes Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506274546,"loadTestEnvironmentEnd":1778506265729,"loadTestEnvironmentStart":1778506265000,"runtime":8815,"setupAfterEnvEnd":1778506266539,"setupAfterEnvStart":1778506266539,"setupFilesEnd":1778506265731,"setupFilesStart":1778506265731,"slow":true,"start":1778506265731},"testFilePath":"/home/mathias/Github/bexio/src/tests/TextPositions.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["TextPositions"],"duration":16,"failureMessages":[],"fullName":"TextPositions Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":30,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506274599,"loadTestEnvironmentEnd":1778506265646,"loadTestEnvironmentStart":1778506265050,"runtime":8951,"setupAfterEnvEnd":1778506266111,"setupAfterEnvStart":1778506266111,"setupFilesEnd":1778506265648,"setupFilesStart":1778506265648,"slow":true,"start":1778506265648},"testFilePath":"/home/mathias/Github/bexio/src/tests/BaseCrud.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["BaseCrud","list"],"duration":12,"failureMessages":[],"fullName":"BaseCrud list Should be a GET request","status":"passed","title":"Should be a GET request"},{"ancestorTitles":["BaseCrud","list"],"duration":1,"failureMessages":[],"fullName":"BaseCrud list Should use the given endpoint","status":"passed","title":"Should use the given endpoint"},{"ancestorTitles":["BaseCrud","list"],"duration":1,"failureMessages":[],"fullName":"BaseCrud list Should pass the options to request","status":"passed","title":"Should pass the options to request"},{"ancestorTitles":["BaseCrud","list"],"duration":2,"failureMessages":[],"fullName":"BaseCrud list Should handle array options correctly","status":"passed","title":"Should handle array options correctly"},{"ancestorTitles":["BaseCrud","search"],"duration":2,"failureMessages":[],"fullName":"BaseCrud search Should be a POST request","status":"passed","title":"Should be a POST request"},{"ancestorTitles":["BaseCrud","search"],"duration":1,"failureMessages":[],"fullName":"BaseCrud search Should use the given endpoint","status":"passed","title":"Should use the given endpoint"},{"ancestorTitles":["BaseCrud","search"],"duration":1,"failureMessages":[],"fullName":"BaseCrud search Should contain the request body","status":"passed","title":"Should contain the request body"},{"ancestorTitles":["BaseCrud","search"],"duration":1,"failureMessages":[],"fullName":"BaseCrud search Should pass the options to request","status":"passed","title":"Should pass the options to request"},{"ancestorTitles":["BaseCrud","show"],"duration":1,"failureMessages":[],"fullName":"BaseCrud show Should be a GET request","status":"passed","title":"Should be a GET request"},{"ancestorTitles":["BaseCrud","show"],"duration":0,"failureMessages":[],"fullName":"BaseCrud show Should use the given endpoint","status":"passed","title":"Should use the given endpoint"},{"ancestorTitles":["BaseCrud","show"],"duration":0,"failureMessages":[],"fullName":"BaseCrud show Should pass the options to request","status":"passed","title":"Should pass the options to request"},{"ancestorTitles":["BaseCrud","create"],"duration":0,"failureMessages":[],"fullName":"BaseCrud create Should be a POST request","status":"passed","title":"Should be a POST request"},{"ancestorTitles":["BaseCrud","create"],"duration":1,"failureMessages":[],"fullName":"BaseCrud create Should use the given endpoint","status":"passed","title":"Should use the given endpoint"},{"ancestorTitles":["BaseCrud","create"],"duration":0,"failureMessages":[],"fullName":"BaseCrud create Should contain the request body","status":"passed","title":"Should contain the request body"},{"ancestorTitles":["BaseCrud","overwrite"],"duration":1,"failureMessages":[],"fullName":"BaseCrud overwrite Should be a PUT request","status":"passed","title":"Should be a PUT request"},{"ancestorTitles":["BaseCrud","overwrite"],"duration":0,"failureMessages":[],"fullName":"BaseCrud overwrite Should use the given endpoint","status":"passed","title":"Should use the given endpoint"},{"ancestorTitles":["BaseCrud","overwrite"],"duration":1,"failureMessages":[],"fullName":"BaseCrud overwrite Should contain the request body","status":"passed","title":"Should contain the request body"},{"ancestorTitles":["BaseCrud","edit"],"duration":1,"failureMessages":[],"fullName":"BaseCrud edit Should be a POST request","status":"passed","title":"Should be a POST request"},{"ancestorTitles":["BaseCrud","edit"],"duration":0,"failureMessages":[],"fullName":"BaseCrud edit Should use the given endpoint","status":"passed","title":"Should use the given endpoint"},{"ancestorTitles":["BaseCrud","edit"],"duration":1,"failureMessages":[],"fullName":"BaseCrud edit Should contain the request body","status":"passed","title":"Should contain the request body"},{"ancestorTitles":["BaseCrud","delete"],"duration":1,"failureMessages":[],"fullName":"BaseCrud delete Should be a DELETE request","status":"passed","title":"Should be a DELETE request"},{"ancestorTitles":["BaseCrud","delete"],"duration":0,"failureMessages":[],"fullName":"BaseCrud delete Should use the given endpoint","status":"passed","title":"Should use the given endpoint"},{"ancestorTitles":["BaseCrud","delete"],"duration":1,"failureMessages":[],"fullName":"BaseCrud delete Should return the success value","status":"passed","title":"Should return the success value"},{"ancestorTitles":["BaseCrud","request"],"duration":1,"failureMessages":[],"fullName":"BaseCrud request Should create the request options","status":"passed","title":"Should create the request options"},{"ancestorTitles":["BaseCrud","request"],"duration":1,"failureMessages":[],"fullName":"BaseCrud request Should add a data param if present","status":"passed","title":"Should add a data param if present"},{"ancestorTitles":["BaseCrud","request"],"duration":0,"failureMessages":[],"fullName":"BaseCrud request Should add options as GET params","status":"passed","title":"Should add options as GET params"},{"ancestorTitles":["BaseCrud","request"],"duration":2,"failureMessages":[],"fullName":"BaseCrud request Should normalize an error","status":"passed","title":"Should normalize an error"},{"ancestorTitles":["BaseCrud","optionsToQuery"],"duration":1,"failureMessages":[],"fullName":"BaseCrud optionsToQuery Should return an empty string","status":"passed","title":"Should return an empty string"},{"ancestorTitles":["BaseCrud","optionsToQuery"],"duration":0,"failureMessages":[],"fullName":"BaseCrud optionsToQuery Should return an GET parameter string","status":"passed","title":"Should return an GET parameter string"},{"ancestorTitles":["BaseCrud","optionsToQuery"],"duration":0,"failureMessages":[],"fullName":"BaseCrud optionsToQuery Should url encode the parameters","status":"passed","title":"Should url encode the parameters"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506274606,"loadTestEnvironmentEnd":1778506274343,"loadTestEnvironmentStart":1778506274336,"runtime":262,"setupAfterEnvEnd":1778506274387,"setupAfterEnvStart":1778506274387,"setupFilesEnd":1778506274344,"setupFilesStart":1778506274344,"slow":false,"start":1778506274344},"testFilePath":"/home/mathias/Github/bexio/src/tests/Users.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Users"],"duration":4,"failureMessages":[],"fullName":"Users Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506274610,"loadTestEnvironmentEnd":1778506274270,"loadTestEnvironmentStart":1778506274255,"runtime":340,"setupAfterEnvEnd":1778506274406,"setupAfterEnvStart":1778506274406,"setupFilesEnd":1778506274270,"setupFilesStart":1778506274270,"slow":false,"start":1778506274270},"testFilePath":"/home/mathias/Github/bexio/src/tests/Contacts.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Contacts"],"duration":4,"failureMessages":[],"fullName":"Contacts Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506274623,"loadTestEnvironmentEnd":1778506265423,"loadTestEnvironmentStart":1778506265043,"runtime":9199,"setupAfterEnvEnd":1778506265837,"setupAfterEnvStart":1778506265837,"setupFilesEnd":1778506265424,"setupFilesStart":1778506265424,"slow":true,"start":1778506265424},"testFilePath":"/home/mathias/Github/bexio/src/tests/BusinessActivities.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["BusinessActivities"],"duration":14,"failureMessages":[],"fullName":"BusinessActivities Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506274635,"loadTestEnvironmentEnd":1778506274328,"loadTestEnvironmentStart":1778506274303,"runtime":306,"setupAfterEnvEnd":1778506274413,"setupAfterEnvStart":1778506274413,"setupFilesEnd":1778506274329,"setupFilesStart":1778506274329,"slow":false,"start":1778506274329},"testFilePath":"/home/mathias/Github/bexio/src/tests/Items.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Items"],"duration":2,"failureMessages":[],"fullName":"Items Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506274650,"loadTestEnvironmentEnd":1778506265581,"loadTestEnvironmentStart":1778506265009,"runtime":9067,"setupAfterEnvEnd":1778506265970,"setupAfterEnvStart":1778506265970,"setupFilesEnd":1778506265583,"setupFilesStart":1778506265583,"slow":true,"start":1778506265583},"testFilePath":"/home/mathias/Github/bexio/src/tests/Payments.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Payments"],"duration":8,"failureMessages":[],"fullName":"Payments Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":7,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506274796,"loadTestEnvironmentEnd":1778506265707,"loadTestEnvironmentStart":1778506265064,"runtime":9087,"setupAfterEnvEnd":1778506266001,"setupAfterEnvStart":1778506266001,"setupFilesEnd":1778506265709,"setupFilesStart":1778506265709,"slow":true,"start":1778506265709},"testFilePath":"/home/mathias/Github/bexio/src/tests/Orders.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Orders"],"duration":7,"failureMessages":[],"fullName":"Orders Should use init the base correctly","status":"passed","title":"Should use init the base correctly"},{"ancestorTitles":["Orders","createDefaultPosition"],"duration":3,"failureMessages":[],"fullName":"Orders createDefaultPosition Should create a new DefaultPosition object","status":"passed","title":"Should create a new DefaultPosition object"},{"ancestorTitles":["Orders","createDefaultPosition"],"duration":2,"failureMessages":[],"fullName":"Orders createDefaultPosition Should call create","status":"passed","title":"Should call create"},{"ancestorTitles":["Orders","createItemPosition"],"duration":2,"failureMessages":[],"fullName":"Orders createItemPosition Should create a new ItemPosition object","status":"passed","title":"Should create a new ItemPosition object"},{"ancestorTitles":["Orders","createItemPosition"],"duration":2,"failureMessages":[],"fullName":"Orders createItemPosition Should call create","status":"passed","title":"Should call create"},{"ancestorTitles":["Orders","createTextPosition"],"duration":2,"failureMessages":[],"fullName":"Orders createTextPosition Should create a new TextPosition object","status":"passed","title":"Should create a new TextPosition object"},{"ancestorTitles":["Orders","createTextPosition"],"duration":1,"failureMessages":[],"fullName":"Orders createTextPosition Should call create","status":"passed","title":"Should call create"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506274804,"loadTestEnvironmentEnd":1778506265725,"loadTestEnvironmentStart":1778506265030,"runtime":9077,"setupAfterEnvEnd":1778506266410,"setupAfterEnvStart":1778506266410,"setupFilesEnd":1778506265727,"setupFilesStart":1778506265727,"slow":true,"start":1778506265727},"testFilePath":"/home/mathias/Github/bexio/src/tests/ItemPositions.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["ItemPositions"],"duration":5,"failureMessages":[],"fullName":"ItemPositions Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506274808,"loadTestEnvironmentEnd":1778506265718,"loadTestEnvironmentStart":1778506265075,"runtime":9088,"setupAfterEnvEnd":1778506266221,"setupAfterEnvStart":1778506266221,"setupFilesEnd":1778506265720,"setupFilesStart":1778506265720,"slow":true,"start":1778506265720},"testFilePath":"/home/mathias/Github/bexio/src/tests/TimetrackingStatuses.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["TimetrackingStatuses"],"duration":7,"failureMessages":[],"fullName":"TimetrackingStatuses Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506274822,"loadTestEnvironmentEnd":1778506265599,"loadTestEnvironmentStart":1778506265065,"runtime":9222,"setupAfterEnvEnd":1778506266174,"setupAfterEnvStart":1778506266174,"setupFilesEnd":1778506265600,"setupFilesStart":1778506265600,"slow":true,"start":1778506265600},"testFilePath":"/home/mathias/Github/bexio/src/tests/ContactSectors.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["ContactSectors"],"duration":8,"failureMessages":[],"fullName":"ContactSectors Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":11,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506274977,"loadTestEnvironmentEnd":1778506265679,"loadTestEnvironmentStart":1778506265054,"runtime":9296,"setupAfterEnvEnd":1778506266381,"setupAfterEnvStart":1778506266381,"setupFilesEnd":1778506265681,"setupFilesStart":1778506265681,"slow":true,"start":1778506265681},"testFilePath":"/home/mathias/Github/bexio/src/tests/Bills.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Bills"],"duration":6,"failureMessages":[],"fullName":"Bills Should use init the base correctly","status":"passed","title":"Should use init the base correctly"},{"ancestorTitles":["Bills"],"duration":1,"failureMessages":[],"fullName":"Bills issue request","status":"passed","title":"issue request"},{"ancestorTitles":["Bills"],"duration":1,"failureMessages":[],"fullName":"Bills revertIssue request","status":"passed","title":"revertIssue request"},{"ancestorTitles":["Bills","list"],"duration":0,"failureMessages":[],"fullName":"Bills list Should call base list","status":"passed","title":"Should call base list"},{"ancestorTitles":["Bills","list"],"duration":1,"failureMessages":[],"fullName":"Bills list Should pass options to base list","status":"passed","title":"Should pass options to base list"},{"ancestorTitles":["Bills","showPayment"],"duration":2,"failureMessages":[],"fullName":"Bills showPayment Should create a new Payment object","status":"passed","title":"Should create a new Payment object"},{"ancestorTitles":["Bills","showPayment"],"duration":1,"failureMessages":[],"fullName":"Bills showPayment Should pass the options down","status":"passed","title":"Should pass the options down"},{"ancestorTitles":["Bills","createPayment"],"duration":1,"failureMessages":[],"fullName":"Bills createPayment Should create a new Payment object","status":"passed","title":"Should create a new Payment object"},{"ancestorTitles":["Bills","createPayment"],"duration":1,"failureMessages":[],"fullName":"Bills createPayment Should call create","status":"passed","title":"Should call create"},{"ancestorTitles":["Bills","deletePayment"],"duration":1,"failureMessages":[],"fullName":"Bills deletePayment Should create a new Payment object","status":"passed","title":"Should create a new Payment object"},{"ancestorTitles":["Bills","deletePayment"],"duration":1,"failureMessages":[],"fullName":"Bills deletePayment Should call delete","status":"passed","title":"Should call delete"}]},{"numFailingTests":0,"numPassingTests":10,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1778506275156,"loadTestEnvironmentEnd":1778506265560,"loadTestEnvironmentStart":1778506265012,"runtime":9595,"setupAfterEnvEnd":1778506265992,"setupAfterEnvStart":1778506265992,"setupFilesEnd":1778506265561,"setupFilesStart":1778506265561,"slow":true,"start":1778506265561},"testFilePath":"/home/mathias/Github/bexio/src/tests/ManualEntries.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["ManualEntries"],"duration":7,"failureMessages":[],"fullName":"ManualEntries Should use init the base correctly","status":"passed","title":"Should use init the base correctly"},{"ancestorTitles":["ManualEntries","list"],"duration":2,"failureMessages":[],"fullName":"ManualEntries list Should call request with GET","status":"passed","title":"Should call request with GET"},{"ancestorTitles":["ManualEntries","list"],"duration":0,"failureMessages":[],"fullName":"ManualEntries list Should pass options to request","status":"passed","title":"Should pass options to request"},{"ancestorTitles":["ManualEntries","create"],"duration":0,"failureMessages":[],"fullName":"ManualEntries create Should call request with POST and correct data","status":"passed","title":"Should call request with POST and correct data"},{"ancestorTitles":["ManualEntries","show"],"duration":9,"failureMessages":[],"fullName":"ManualEntries show Should throw not implemented error","status":"passed","title":"Should throw not implemented error"},{"ancestorTitles":["ManualEntries","overwrite"],"duration":1,"failureMessages":[],"fullName":"ManualEntries overwrite Should call request with PUT and correct path and data","status":"passed","title":"Should call request with PUT and correct path and data"},{"ancestorTitles":["ManualEntries","delete"],"duration":0,"failureMessages":[],"fullName":"ManualEntries delete Should call request with DELETE and correct path","status":"passed","title":"Should call request with DELETE and correct path"},{"ancestorTitles":["ManualEntries","search"],"duration":1,"failureMessages":[],"fullName":"ManualEntries search Should throw not implemented error","status":"passed","title":"Should throw not implemented error"},{"ancestorTitles":["ManualEntries","edit"],"duration":1,"failureMessages":[],"fullName":"ManualEntries edit Should throw not implemented error","status":"passed","title":"Should throw not implemented error"},{"ancestorTitles":["ManualEntries","getNextReferenceNumber"],"duration":1,"failureMessages":[],"fullName":"ManualEntries getNextReferenceNumber Should call request with GET and correct path","status":"passed","title":"Should call request with GET and correct path"}]}],"config":{"bail":0,"changedFilesWithAncestor":false,"ci":false,"collectCoverage":true,"collectCoverageFrom":["src/**/*.{ts,tsx}","!**/node_modules/**","!**/coverage/**"],"coverageDirectory":"/home/mathias/Github/bexio/coverage","coverageProvider":"babel","coverageReporters":["html"],"detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"expand":false,"findRelatedTests":false,"forceExit":false,"json":false,"lastCommit":false,"listTests":false,"logHeapUsage":false,"maxConcurrency":5,"maxWorkers":19,"noStackTrace":false,"nonFlagArgs":[],"notify":false,"notifyMode":"failure-change","onlyChanged":false,"onlyFailures":false,"openHandlesTimeout":1000,"passWithNoTests":false,"projects":[],"reporters":[["default",{}],["/home/mathias/Github/bexio/node_modules/jest-html-reporters/index.js",{}],["/home/mathias/Github/bexio/node_modules/jest-junit/index.js",{}]],"rootDir":"/home/mathias/Github/bexio","runInBand":false,"runTestsByPath":false,"seed":975855866,"skipFilter":false,"snapshotFormat":{"escapeString":false,"printBasicPrototype":false},"testFailureExitCode":1,"testPathPatterns":{"patterns":[],"type":"TestPathPatterns"},"testSequencer":"/home/mathias/Github/bexio/node_modules/@jest/test-sequencer/build/index.js","updateSnapshot":"new","useStderr":false,"waitForUnhandledRejections":false,"watch":false,"watchAll":false,"watchman":true,"workerThreads":false,"coverageLinkPath":"coverage/index.html"},"endTime":1778506275422,"_reporterOptions":{"publicPath":"/home/mathias/Github/bexio","filename":"jest_html_reporters.html","expand":false,"pageTitle":"","hideIcon":false,"testCommand":"","openReport":false,"failureMessageOnly":0,"enableMergeData":false,"dataMergeLevel":1,"inlineSource":false,"urlForTestFiles":"","darkTheme":false,"includeConsoleLog":false,"stripSkippedTest":false},"logInfoMapping":{},"attachInfos":{}})
|
|
1
|
+
window.jest_html_reporters_callback__({"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":29,"numPassedTests":139,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":29,"numTotalTests":139,"startTime":1780003977886,"success":false,"testResults":[{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003985955,"loadTestEnvironmentEnd":1780003978880,"loadTestEnvironmentStart":1780003978335,"runtime":7073,"setupAfterEnvEnd":1780003979521,"setupAfterEnvStart":1780003979521,"setupFilesEnd":1780003978882,"setupFilesStart":1780003978882,"slow":true,"start":1780003978882},"testFilePath":"/home/mathias/Github/bexio/src/tests/Payments.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Payments"],"duration":18,"failureMessages":[],"fullName":"Payments Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003986402,"loadTestEnvironmentEnd":1780003978918,"loadTestEnvironmentStart":1780003978377,"runtime":7482,"setupAfterEnvEnd":1780003979427,"setupAfterEnvStart":1780003979427,"setupFilesEnd":1780003978920,"setupFilesStart":1780003978920,"slow":true,"start":1780003978920},"testFilePath":"/home/mathias/Github/bexio/src/tests/Currencies.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Currencies"],"duration":23,"failureMessages":[],"fullName":"Currencies Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003986511,"loadTestEnvironmentEnd":1780003978843,"loadTestEnvironmentStart":1780003978335,"runtime":7667,"setupAfterEnvEnd":1780003979086,"setupAfterEnvStart":1780003979086,"setupFilesEnd":1780003978844,"setupFilesStart":1780003978844,"slow":true,"start":1780003978844},"testFilePath":"/home/mathias/Github/bexio/src/tests/ProjectStatuses.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["ProjectStatuses"],"duration":10,"failureMessages":[],"fullName":"ProjectStatuses Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003986613,"loadTestEnvironmentEnd":1780003978931,"loadTestEnvironmentStart":1780003978398,"runtime":7680,"setupAfterEnvEnd":1780003979383,"setupAfterEnvStart":1780003979383,"setupFilesEnd":1780003978933,"setupFilesStart":1780003978933,"slow":true,"start":1780003978933},"testFilePath":"/home/mathias/Github/bexio/src/tests/Projects.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Projects"],"duration":16,"failureMessages":[],"fullName":"Projects Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003986715,"loadTestEnvironmentEnd":1780003986124,"loadTestEnvironmentStart":1780003986082,"runtime":591,"setupAfterEnvEnd":1780003986347,"setupAfterEnvStart":1780003986347,"setupFilesEnd":1780003986124,"setupFilesStart":1780003986124,"slow":false,"start":1780003986124},"testFilePath":"/home/mathias/Github/bexio/src/tests/ContactTypes.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["ContactTypes"],"duration":2,"failureMessages":[],"fullName":"ContactTypes Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003986767,"loadTestEnvironmentEnd":1780003986546,"loadTestEnvironmentStart":1780003986536,"runtime":220,"setupAfterEnvEnd":1780003986583,"setupAfterEnvStart":1780003986583,"setupFilesEnd":1780003986547,"setupFilesStart":1780003986547,"slow":false,"start":1780003986547},"testFilePath":"/home/mathias/Github/bexio/src/tests/ContactRelations.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["ContactRelations"],"duration":2,"failureMessages":[],"fullName":"ContactRelations Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003986795,"loadTestEnvironmentEnd":1780003986436,"loadTestEnvironmentStart":1780003986421,"runtime":359,"setupAfterEnvEnd":1780003986482,"setupAfterEnvStart":1780003986482,"setupFilesEnd":1780003986436,"setupFilesStart":1780003986436,"slow":false,"start":1780003986436},"testFilePath":"/home/mathias/Github/bexio/src/tests/ContactSectors.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["ContactSectors"],"duration":3,"failureMessages":[],"fullName":"ContactSectors Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":7,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003986893,"loadTestEnvironmentEnd":1780003978942,"loadTestEnvironmentStart":1780003978312,"runtime":7950,"setupAfterEnvEnd":1780003979503,"setupAfterEnvStart":1780003979503,"setupFilesEnd":1780003978943,"setupFilesStart":1780003978943,"slow":true,"start":1780003978943},"testFilePath":"/home/mathias/Github/bexio/src/tests/Orders.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Orders"],"duration":13,"failureMessages":[],"fullName":"Orders Should use init the base correctly","status":"passed","title":"Should use init the base correctly"},{"ancestorTitles":["Orders","createDefaultPosition"],"duration":5,"failureMessages":[],"fullName":"Orders createDefaultPosition Should create a new DefaultPosition object","status":"passed","title":"Should create a new DefaultPosition object"},{"ancestorTitles":["Orders","createDefaultPosition"],"duration":5,"failureMessages":[],"fullName":"Orders createDefaultPosition Should call create","status":"passed","title":"Should call create"},{"ancestorTitles":["Orders","createItemPosition"],"duration":10,"failureMessages":[],"fullName":"Orders createItemPosition Should create a new ItemPosition object","status":"passed","title":"Should create a new ItemPosition object"},{"ancestorTitles":["Orders","createItemPosition"],"duration":5,"failureMessages":[],"fullName":"Orders createItemPosition Should call create","status":"passed","title":"Should call create"},{"ancestorTitles":["Orders","createTextPosition"],"duration":4,"failureMessages":[],"fullName":"Orders createTextPosition Should create a new TextPosition object","status":"passed","title":"Should create a new TextPosition object"},{"ancestorTitles":["Orders","createTextPosition"],"duration":5,"failureMessages":[],"fullName":"Orders createTextPosition Should call create","status":"passed","title":"Should call create"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003986998,"loadTestEnvironmentEnd":1780003978972,"loadTestEnvironmentStart":1780003978383,"runtime":8025,"setupAfterEnvEnd":1780003979561,"setupAfterEnvStart":1780003979561,"setupFilesEnd":1780003978973,"setupFilesStart":1780003978973,"slow":true,"start":1780003978973},"testFilePath":"/home/mathias/Github/bexio/src/tests/Items.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Items"],"duration":13,"failureMessages":[],"fullName":"Items Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003987075,"loadTestEnvironmentEnd":1780003978951,"loadTestEnvironmentStart":1780003978380,"runtime":8122,"setupAfterEnvEnd":1780003979598,"setupAfterEnvStart":1780003979598,"setupFilesEnd":1780003978953,"setupFilesStart":1780003978953,"slow":true,"start":1780003978953},"testFilePath":"/home/mathias/Github/bexio/src/tests/ItemPositions.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["ItemPositions"],"duration":15,"failureMessages":[],"fullName":"ItemPositions Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003987092,"loadTestEnvironmentEnd":1780003986737,"loadTestEnvironmentStart":1780003986729,"runtime":355,"setupAfterEnvEnd":1780003986778,"setupAfterEnvStart":1780003986778,"setupFilesEnd":1780003986737,"setupFilesStart":1780003986737,"slow":false,"start":1780003986737},"testFilePath":"/home/mathias/Github/bexio/src/tests/BusinessActivities.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["BusinessActivities"],"duration":6,"failureMessages":[],"fullName":"BusinessActivities Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003987135,"loadTestEnvironmentEnd":1780003986653,"loadTestEnvironmentStart":1780003986634,"runtime":482,"setupAfterEnvEnd":1780003986732,"setupAfterEnvStart":1780003986732,"setupFilesEnd":1780003986653,"setupFilesStart":1780003986653,"slow":false,"start":1780003986653},"testFilePath":"/home/mathias/Github/bexio/src/tests/ContactGroups.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["ContactGroups"],"duration":2,"failureMessages":[],"fullName":"ContactGroups Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":11,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003987234,"loadTestEnvironmentEnd":1780003986795,"loadTestEnvironmentStart":1780003986785,"runtime":439,"setupAfterEnvEnd":1780003986837,"setupAfterEnvStart":1780003986837,"setupFilesEnd":1780003986795,"setupFilesStart":1780003986795,"slow":false,"start":1780003986795},"testFilePath":"/home/mathias/Github/bexio/src/tests/BillsV4.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["BillsV4"],"duration":3,"failureMessages":[],"fullName":"BillsV4 Should use init the base correctly","status":"passed","title":"Should use init the base correctly"},{"ancestorTitles":["BillsV4","list"],"duration":2,"failureMessages":[],"fullName":"BillsV4 list Should call request with GET","status":"passed","title":"Should call request with GET"},{"ancestorTitles":["BillsV4","list"],"duration":1,"failureMessages":[],"fullName":"BillsV4 list Should pass options to request","status":"passed","title":"Should pass options to request"},{"ancestorTitles":["BillsV4","list"],"duration":3,"failureMessages":[],"fullName":"BillsV4 list should list bills with options","status":"passed","title":"should list bills with options"},{"ancestorTitles":["BillsV4","updateStatus"],"duration":2,"failureMessages":[],"fullName":"BillsV4 updateStatus Should call request with PUT and correct path","status":"passed","title":"Should call request with PUT and correct path"},{"ancestorTitles":["BillsV4","executeAction"],"duration":2,"failureMessages":[],"fullName":"BillsV4 executeAction Should call request with POST and correct path and data","status":"passed","title":"Should call request with POST and correct path and data"},{"ancestorTitles":["BillsV4","validateDocumentNumber"],"duration":2,"failureMessages":[],"fullName":"BillsV4 validateDocumentNumber Should call request with GET and correct path and data","status":"passed","title":"Should call request with GET and correct path and data"},{"ancestorTitles":["BillsV4","search"],"duration":14,"failureMessages":[],"fullName":"BillsV4 search Should throw not implemented error","status":"passed","title":"Should throw not implemented error"},{"ancestorTitles":["BillsV4","updateStatus"],"duration":1,"failureMessages":[],"fullName":"BillsV4 updateStatus Should call request with PUT and correct path","status":"passed","title":"Should call request with PUT and correct path"},{"ancestorTitles":["BillsV4","executeAction"],"duration":3,"failureMessages":[],"fullName":"BillsV4 executeAction Should call request with POST and correct path and data","status":"passed","title":"Should call request with POST and correct path and data"},{"ancestorTitles":["BillsV4","validateDocumentNumber"],"duration":1,"failureMessages":[],"fullName":"BillsV4 validateDocumentNumber Should call request with GET and correct path and query","status":"passed","title":"Should call request with GET and correct path and query"}]},{"numFailingTests":0,"numPassingTests":8,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003987250,"loadTestEnvironmentEnd":1780003978931,"loadTestEnvironmentStart":1780003978286,"runtime":8317,"setupAfterEnvEnd":1780003979465,"setupAfterEnvStart":1780003979465,"setupFilesEnd":1780003978933,"setupFilesStart":1780003978933,"slow":true,"start":1780003978933},"testFilePath":"/home/mathias/Github/bexio/src/tests/Taxes.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Taxes"],"duration":15,"failureMessages":[],"fullName":"Taxes should list taxes","status":"passed","title":"should list taxes"},{"ancestorTitles":["Taxes"],"duration":2,"failureMessages":[],"fullName":"Taxes should list taxes with parameters","status":"passed","title":"should list taxes with parameters"},{"ancestorTitles":["Taxes"],"duration":2,"failureMessages":[],"fullName":"Taxes should show a tax","status":"passed","title":"should show a tax"},{"ancestorTitles":["Taxes"],"duration":3,"failureMessages":[],"fullName":"Taxes should delete a tax","status":"passed","title":"should delete a tax"},{"ancestorTitles":["Taxes"],"duration":18,"failureMessages":[],"fullName":"Taxes should throw error for unimplemented search","status":"passed","title":"should throw error for unimplemented search"},{"ancestorTitles":["Taxes"],"duration":2,"failureMessages":[],"fullName":"Taxes should throw error for unimplemented create","status":"passed","title":"should throw error for unimplemented create"},{"ancestorTitles":["Taxes"],"duration":5,"failureMessages":[],"fullName":"Taxes should throw error for unimplemented overwrite","status":"passed","title":"should throw error for unimplemented overwrite"},{"ancestorTitles":["Taxes"],"duration":2,"failureMessages":[],"fullName":"Taxes should throw error for unimplemented edit","status":"passed","title":"should throw error for unimplemented edit"}]},{"numFailingTests":0,"numPassingTests":11,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003987280,"loadTestEnvironmentEnd":1780003986851,"loadTestEnvironmentStart":1780003986844,"runtime":428,"setupAfterEnvEnd":1780003986934,"setupAfterEnvStart":1780003986934,"setupFilesEnd":1780003986852,"setupFilesStart":1780003986852,"slow":false,"start":1780003986852},"testFilePath":"/home/mathias/Github/bexio/src/tests/Bills.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Bills"],"duration":4,"failureMessages":[],"fullName":"Bills Should use init the base correctly","status":"passed","title":"Should use init the base correctly"},{"ancestorTitles":["Bills"],"duration":2,"failureMessages":[],"fullName":"Bills issue request","status":"passed","title":"issue request"},{"ancestorTitles":["Bills"],"duration":2,"failureMessages":[],"fullName":"Bills revertIssue request","status":"passed","title":"revertIssue request"},{"ancestorTitles":["Bills","list"],"duration":1,"failureMessages":[],"fullName":"Bills list Should call base list","status":"passed","title":"Should call base list"},{"ancestorTitles":["Bills","list"],"duration":2,"failureMessages":[],"fullName":"Bills list Should pass options to base list","status":"passed","title":"Should pass options to base list"},{"ancestorTitles":["Bills","showPayment"],"duration":4,"failureMessages":[],"fullName":"Bills showPayment Should create a new Payment object","status":"passed","title":"Should create a new Payment object"},{"ancestorTitles":["Bills","showPayment"],"duration":3,"failureMessages":[],"fullName":"Bills showPayment Should pass the options down","status":"passed","title":"Should pass the options down"},{"ancestorTitles":["Bills","createPayment"],"duration":3,"failureMessages":[],"fullName":"Bills createPayment Should create a new Payment object","status":"passed","title":"Should create a new Payment object"},{"ancestorTitles":["Bills","createPayment"],"duration":4,"failureMessages":[],"fullName":"Bills createPayment Should call create","status":"passed","title":"Should call create"},{"ancestorTitles":["Bills","deletePayment"],"duration":3,"failureMessages":[],"fullName":"Bills deletePayment Should create a new Payment object","status":"passed","title":"Should create a new Payment object"},{"ancestorTitles":["Bills","deletePayment"],"duration":2,"failureMessages":[],"fullName":"Bills deletePayment Should call delete","status":"passed","title":"Should call delete"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003987283,"loadTestEnvironmentEnd":1780003978904,"loadTestEnvironmentStart":1780003978361,"runtime":8378,"setupAfterEnvEnd":1780003980021,"setupAfterEnvStart":1780003980021,"setupFilesEnd":1780003978905,"setupFilesStart":1780003978905,"slow":true,"start":1780003978905},"testFilePath":"/home/mathias/Github/bexio/src/tests/DefaultPositions.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["DefaultPositions"],"duration":11,"failureMessages":[],"fullName":"DefaultPositions Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003987686,"loadTestEnvironmentEnd":1780003978972,"loadTestEnvironmentStart":1780003978359,"runtime":8712,"setupAfterEnvEnd":1780003979565,"setupAfterEnvStart":1780003979565,"setupFilesEnd":1780003978974,"setupFilesStart":1780003978974,"slow":true,"start":1780003978974},"testFilePath":"/home/mathias/Github/bexio/src/tests/TimetrackingStatuses.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["TimetrackingStatuses"],"duration":8,"failureMessages":[],"fullName":"TimetrackingStatuses Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":9,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003987708,"loadTestEnvironmentEnd":1780003987034,"loadTestEnvironmentStart":1780003987018,"runtime":673,"setupAfterEnvEnd":1780003987081,"setupAfterEnvStart":1780003987081,"setupFilesEnd":1780003987035,"setupFilesStart":1780003987035,"slow":false,"start":1780003987035},"testFilePath":"/home/mathias/Github/bexio/src/tests/BankAccounts.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["BankAccounts"],"duration":5,"failureMessages":[],"fullName":"BankAccounts Should use init the base correctly","status":"passed","title":"Should use init the base correctly"},{"ancestorTitles":["BankAccounts","list"],"duration":3,"failureMessages":[],"fullName":"BankAccounts list Should call request with GET","status":"passed","title":"Should call request with GET"},{"ancestorTitles":["BankAccounts","list"],"duration":2,"failureMessages":[],"fullName":"BankAccounts list Should pass options to request","status":"passed","title":"Should pass options to request"},{"ancestorTitles":["BankAccounts","show"],"duration":2,"failureMessages":[],"fullName":"BankAccounts show Should call request with GET and correct path","status":"passed","title":"Should call request with GET and correct path"},{"ancestorTitles":["BankAccounts","Unsupported methods"],"duration":19,"failureMessages":[],"fullName":"BankAccounts Unsupported methods search should throw error","status":"passed","title":"search should throw error"},{"ancestorTitles":["BankAccounts","Unsupported methods"],"duration":3,"failureMessages":[],"fullName":"BankAccounts Unsupported methods create should throw error","status":"passed","title":"create should throw error"},{"ancestorTitles":["BankAccounts","Unsupported methods"],"duration":3,"failureMessages":[],"fullName":"BankAccounts Unsupported methods overwrite should throw error","status":"passed","title":"overwrite should throw error"},{"ancestorTitles":["BankAccounts","Unsupported methods"],"duration":2,"failureMessages":[],"fullName":"BankAccounts Unsupported methods edit should throw error","status":"passed","title":"edit should throw error"},{"ancestorTitles":["BankAccounts","Unsupported methods"],"duration":3,"failureMessages":[],"fullName":"BankAccounts Unsupported methods delete should throw error","status":"passed","title":"delete should throw error"}]},{"numFailingTests":0,"numPassingTests":30,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003987735,"loadTestEnvironmentEnd":1780003987003,"loadTestEnvironmentStart":1780003986972,"runtime":732,"setupAfterEnvEnd":1780003987099,"setupAfterEnvStart":1780003987099,"setupFilesEnd":1780003987003,"setupFilesStart":1780003987003,"slow":false,"start":1780003987003},"testFilePath":"/home/mathias/Github/bexio/src/tests/BaseCrud.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["BaseCrud","list"],"duration":2,"failureMessages":[],"fullName":"BaseCrud list Should be a GET request","status":"passed","title":"Should be a GET request"},{"ancestorTitles":["BaseCrud","list"],"duration":0,"failureMessages":[],"fullName":"BaseCrud list Should use the given endpoint","status":"passed","title":"Should use the given endpoint"},{"ancestorTitles":["BaseCrud","list"],"duration":0,"failureMessages":[],"fullName":"BaseCrud list Should pass the options to request","status":"passed","title":"Should pass the options to request"},{"ancestorTitles":["BaseCrud","list"],"duration":0,"failureMessages":[],"fullName":"BaseCrud list Should handle array options correctly","status":"passed","title":"Should handle array options correctly"},{"ancestorTitles":["BaseCrud","search"],"duration":0,"failureMessages":[],"fullName":"BaseCrud search Should be a POST request","status":"passed","title":"Should be a POST request"},{"ancestorTitles":["BaseCrud","search"],"duration":0,"failureMessages":[],"fullName":"BaseCrud search Should use the given endpoint","status":"passed","title":"Should use the given endpoint"},{"ancestorTitles":["BaseCrud","search"],"duration":1,"failureMessages":[],"fullName":"BaseCrud search Should contain the request body","status":"passed","title":"Should contain the request body"},{"ancestorTitles":["BaseCrud","search"],"duration":1,"failureMessages":[],"fullName":"BaseCrud search Should pass the options to request","status":"passed","title":"Should pass the options to request"},{"ancestorTitles":["BaseCrud","show"],"duration":1,"failureMessages":[],"fullName":"BaseCrud show Should be a GET request","status":"passed","title":"Should be a GET request"},{"ancestorTitles":["BaseCrud","show"],"duration":1,"failureMessages":[],"fullName":"BaseCrud show Should use the given endpoint","status":"passed","title":"Should use the given endpoint"},{"ancestorTitles":["BaseCrud","show"],"duration":1,"failureMessages":[],"fullName":"BaseCrud show Should pass the options to request","status":"passed","title":"Should pass the options to request"},{"ancestorTitles":["BaseCrud","create"],"duration":1,"failureMessages":[],"fullName":"BaseCrud create Should be a POST request","status":"passed","title":"Should be a POST request"},{"ancestorTitles":["BaseCrud","create"],"duration":1,"failureMessages":[],"fullName":"BaseCrud create Should use the given endpoint","status":"passed","title":"Should use the given endpoint"},{"ancestorTitles":["BaseCrud","create"],"duration":0,"failureMessages":[],"fullName":"BaseCrud create Should contain the request body","status":"passed","title":"Should contain the request body"},{"ancestorTitles":["BaseCrud","overwrite"],"duration":1,"failureMessages":[],"fullName":"BaseCrud overwrite Should be a PUT request","status":"passed","title":"Should be a PUT request"},{"ancestorTitles":["BaseCrud","overwrite"],"duration":1,"failureMessages":[],"fullName":"BaseCrud overwrite Should use the given endpoint","status":"passed","title":"Should use the given endpoint"},{"ancestorTitles":["BaseCrud","overwrite"],"duration":0,"failureMessages":[],"fullName":"BaseCrud overwrite Should contain the request body","status":"passed","title":"Should contain the request body"},{"ancestorTitles":["BaseCrud","edit"],"duration":1,"failureMessages":[],"fullName":"BaseCrud edit Should be a POST request","status":"passed","title":"Should be a POST request"},{"ancestorTitles":["BaseCrud","edit"],"duration":0,"failureMessages":[],"fullName":"BaseCrud edit Should use the given endpoint","status":"passed","title":"Should use the given endpoint"},{"ancestorTitles":["BaseCrud","edit"],"duration":0,"failureMessages":[],"fullName":"BaseCrud edit Should contain the request body","status":"passed","title":"Should contain the request body"},{"ancestorTitles":["BaseCrud","delete"],"duration":5,"failureMessages":[],"fullName":"BaseCrud delete Should be a DELETE request","status":"passed","title":"Should be a DELETE request"},{"ancestorTitles":["BaseCrud","delete"],"duration":1,"failureMessages":[],"fullName":"BaseCrud delete Should use the given endpoint","status":"passed","title":"Should use the given endpoint"},{"ancestorTitles":["BaseCrud","delete"],"duration":1,"failureMessages":[],"fullName":"BaseCrud delete Should return the success value","status":"passed","title":"Should return the success value"},{"ancestorTitles":["BaseCrud","request"],"duration":1,"failureMessages":[],"fullName":"BaseCrud request Should create the request options","status":"passed","title":"Should create the request options"},{"ancestorTitles":["BaseCrud","request"],"duration":1,"failureMessages":[],"fullName":"BaseCrud request Should add a data param if present","status":"passed","title":"Should add a data param if present"},{"ancestorTitles":["BaseCrud","request"],"duration":1,"failureMessages":[],"fullName":"BaseCrud request Should add options as GET params","status":"passed","title":"Should add options as GET params"},{"ancestorTitles":["BaseCrud","request"],"duration":2,"failureMessages":[],"fullName":"BaseCrud request Should normalize an error","status":"passed","title":"Should normalize an error"},{"ancestorTitles":["BaseCrud","optionsToQuery"],"duration":0,"failureMessages":[],"fullName":"BaseCrud optionsToQuery Should return an empty string","status":"passed","title":"Should return an empty string"},{"ancestorTitles":["BaseCrud","optionsToQuery"],"duration":0,"failureMessages":[],"fullName":"BaseCrud optionsToQuery Should return an GET parameter string","status":"passed","title":"Should return an GET parameter string"},{"ancestorTitles":["BaseCrud","optionsToQuery"],"duration":1,"failureMessages":[],"fullName":"BaseCrud optionsToQuery Should url encode the parameters","status":"passed","title":"Should url encode the parameters"}]},{"numFailingTests":0,"numPassingTests":9,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003987813,"loadTestEnvironmentEnd":1780003987134,"loadTestEnvironmentStart":1780003987106,"runtime":678,"setupAfterEnvEnd":1780003987243,"setupAfterEnvStart":1780003987243,"setupFilesEnd":1780003987135,"setupFilesStart":1780003987135,"slow":false,"start":1780003987135},"testFilePath":"/home/mathias/Github/bexio/src/tests/Accounts.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Accounts"],"duration":4,"failureMessages":[],"fullName":"Accounts Should use init the base correctly","status":"passed","title":"Should use init the base correctly"},{"ancestorTitles":["Accounts","list"],"duration":2,"failureMessages":[],"fullName":"Accounts list Should call request with GET","status":"passed","title":"Should call request with GET"},{"ancestorTitles":["Accounts","list"],"duration":1,"failureMessages":[],"fullName":"Accounts list Should pass options to request","status":"passed","title":"Should pass options to request"},{"ancestorTitles":["Accounts","search"],"duration":1,"failureMessages":[],"fullName":"Accounts search Should call request with POST and /search","status":"passed","title":"Should call request with POST and /search"},{"ancestorTitles":["Accounts","unimplemented methods"],"duration":18,"failureMessages":[],"fullName":"Accounts unimplemented methods should throw for show","status":"passed","title":"should throw for show"},{"ancestorTitles":["Accounts","unimplemented methods"],"duration":2,"failureMessages":[],"fullName":"Accounts unimplemented methods should throw for create","status":"passed","title":"should throw for create"},{"ancestorTitles":["Accounts","unimplemented methods"],"duration":1,"failureMessages":[],"fullName":"Accounts unimplemented methods should throw for overwrite","status":"passed","title":"should throw for overwrite"},{"ancestorTitles":["Accounts","unimplemented methods"],"duration":1,"failureMessages":[],"fullName":"Accounts unimplemented methods should throw for edit","status":"passed","title":"should throw for edit"},{"ancestorTitles":["Accounts","unimplemented methods"],"duration":1,"failureMessages":[],"fullName":"Accounts unimplemented methods should throw for delete","status":"passed","title":"should throw for delete"}]},{"numFailingTests":0,"numPassingTests":10,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003987824,"loadTestEnvironmentEnd":1780003979016,"loadTestEnvironmentStart":1780003978387,"runtime":8807,"setupAfterEnvEnd":1780003979516,"setupAfterEnvStart":1780003979516,"setupFilesEnd":1780003979017,"setupFilesStart":1780003979017,"slow":true,"start":1780003979017},"testFilePath":"/home/mathias/Github/bexio/src/tests/ManualEntries.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["ManualEntries"],"duration":15,"failureMessages":[],"fullName":"ManualEntries Should use init the base correctly","status":"passed","title":"Should use init the base correctly"},{"ancestorTitles":["ManualEntries","list"],"duration":5,"failureMessages":[],"fullName":"ManualEntries list Should call request with GET","status":"passed","title":"Should call request with GET"},{"ancestorTitles":["ManualEntries","list"],"duration":3,"failureMessages":[],"fullName":"ManualEntries list Should pass options to request","status":"passed","title":"Should pass options to request"},{"ancestorTitles":["ManualEntries","create"],"duration":2,"failureMessages":[],"fullName":"ManualEntries create Should call request with POST and correct data","status":"passed","title":"Should call request with POST and correct data"},{"ancestorTitles":["ManualEntries","show"],"duration":22,"failureMessages":[],"fullName":"ManualEntries show Should throw not implemented error","status":"passed","title":"Should throw not implemented error"},{"ancestorTitles":["ManualEntries","overwrite"],"duration":2,"failureMessages":[],"fullName":"ManualEntries overwrite Should call request with PUT and correct path and data","status":"passed","title":"Should call request with PUT and correct path and data"},{"ancestorTitles":["ManualEntries","delete"],"duration":1,"failureMessages":[],"fullName":"ManualEntries delete Should call request with DELETE and correct path","status":"passed","title":"Should call request with DELETE and correct path"},{"ancestorTitles":["ManualEntries","search"],"duration":2,"failureMessages":[],"fullName":"ManualEntries search Should throw not implemented error","status":"passed","title":"Should throw not implemented error"},{"ancestorTitles":["ManualEntries","edit"],"duration":1,"failureMessages":[],"fullName":"ManualEntries edit Should throw not implemented error","status":"passed","title":"Should throw not implemented error"},{"ancestorTitles":["ManualEntries","getNextReferenceNumber"],"duration":1,"failureMessages":[],"fullName":"ManualEntries getNextReferenceNumber Should call request with GET and correct path","status":"passed","title":"Should call request with GET and correct path"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003987867,"loadTestEnvironmentEnd":1780003978995,"loadTestEnvironmentStart":1780003978362,"runtime":8870,"setupAfterEnvEnd":1780003979595,"setupAfterEnvStart":1780003979595,"setupFilesEnd":1780003978997,"setupFilesStart":1780003978997,"slow":true,"start":1780003978997},"testFilePath":"/home/mathias/Github/bexio/src/tests/TextPositions.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["TextPositions"],"duration":9,"failureMessages":[],"fullName":"TextPositions Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003987867,"loadTestEnvironmentEnd":1780003979069,"loadTestEnvironmentStart":1780003978415,"runtime":8796,"setupAfterEnvEnd":1780003979855,"setupAfterEnvStart":1780003979855,"setupFilesEnd":1780003979071,"setupFilesStart":1780003979071,"slow":true,"start":1780003979071},"testFilePath":"/home/mathias/Github/bexio/src/tests/Contacts.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Contacts"],"duration":14,"failureMessages":[],"fullName":"Contacts Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":10,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003987878,"loadTestEnvironmentEnd":1780003978882,"loadTestEnvironmentStart":1780003978339,"runtime":8994,"setupAfterEnvEnd":1780003979313,"setupAfterEnvStart":1780003979313,"setupFilesEnd":1780003978884,"setupFilesStart":1780003978884,"slow":true,"start":1780003978884},"testFilePath":"/home/mathias/Github/bexio/src/tests/OutgoingPayments.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["OutgoingPayments"],"duration":11,"failureMessages":[],"fullName":"OutgoingPayments Should use init the base correctly","status":"passed","title":"Should use init the base correctly"},{"ancestorTitles":["OutgoingPayments","list"],"duration":3,"failureMessages":[],"fullName":"OutgoingPayments list Should call request with GET","status":"passed","title":"Should call request with GET"},{"ancestorTitles":["OutgoingPayments","search"],"duration":11,"failureMessages":[],"fullName":"OutgoingPayments search Should throw not implemented error","status":"passed","title":"Should throw not implemented error"},{"ancestorTitles":["OutgoingPayments","show"],"duration":1,"failureMessages":[],"fullName":"OutgoingPayments show Should call request with GET and correct path","status":"passed","title":"Should call request with GET and correct path"},{"ancestorTitles":["OutgoingPayments","create"],"duration":1,"failureMessages":[],"fullName":"OutgoingPayments create Should call request with POST and correct data","status":"passed","title":"Should call request with POST and correct data"},{"ancestorTitles":["OutgoingPayments","update"],"duration":1,"failureMessages":[],"fullName":"OutgoingPayments update Should call request with PUT and correct data","status":"passed","title":"Should call request with PUT and correct data"},{"ancestorTitles":["OutgoingPayments","delete"],"duration":1,"failureMessages":[],"fullName":"OutgoingPayments delete Should call request with DELETE and correct path","status":"passed","title":"Should call request with DELETE and correct path"},{"ancestorTitles":["OutgoingPayments","cancel"],"duration":1,"failureMessages":[],"fullName":"OutgoingPayments cancel Should call request with POST and correct path","status":"passed","title":"Should call request with POST and correct path"},{"ancestorTitles":["OutgoingPayments","overwrite"],"duration":2,"failureMessages":[],"fullName":"OutgoingPayments overwrite Should throw not implemented error","status":"passed","title":"Should throw not implemented error"},{"ancestorTitles":["OutgoingPayments","edit"],"duration":1,"failureMessages":[],"fullName":"OutgoingPayments edit Should throw not implemented error","status":"passed","title":"Should throw not implemented error"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003987886,"loadTestEnvironmentEnd":1780003978810,"loadTestEnvironmentStart":1780003978350,"runtime":9073,"setupAfterEnvEnd":1780003979210,"setupAfterEnvStart":1780003979210,"setupFilesEnd":1780003978813,"setupFilesStart":1780003978813,"slow":true,"start":1780003978813},"testFilePath":"/home/mathias/Github/bexio/src/tests/Timetrackings.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Timetrackings"],"duration":7,"failureMessages":[],"fullName":"Timetrackings Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003987889,"loadTestEnvironmentEnd":1780003979147,"loadTestEnvironmentStart":1780003978427,"runtime":8740,"setupAfterEnvEnd":1780003980120,"setupAfterEnvStart":1780003980120,"setupFilesEnd":1780003979149,"setupFilesStart":1780003979149,"slow":true,"start":1780003979149},"testFilePath":"/home/mathias/Github/bexio/src/tests/Users.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Users"],"duration":7,"failureMessages":[],"fullName":"Users Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003987904,"loadTestEnvironmentEnd":1780003978862,"loadTestEnvironmentStart":1780003978325,"runtime":9041,"setupAfterEnvEnd":1780003979281,"setupAfterEnvStart":1780003979281,"setupFilesEnd":1780003978863,"setupFilesStart":1780003978863,"slow":true,"start":1780003978863},"testFilePath":"/home/mathias/Github/bexio/src/tests/ProjectTypes.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["ProjectTypes"],"duration":8,"failureMessages":[],"fullName":"ProjectTypes Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003987958,"loadTestEnvironmentEnd":1780003978559,"loadTestEnvironmentStart":1780003978293,"runtime":9398,"setupAfterEnvEnd":1780003978901,"setupAfterEnvStart":1780003978901,"setupFilesEnd":1780003978560,"setupFilesStart":1780003978560,"slow":true,"start":1780003978560},"testFilePath":"/home/mathias/Github/bexio/src/tests/Expenses.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Expenses"],"duration":7,"failureMessages":[],"fullName":"Expenses Should use init the base correctly","status":"passed","title":"Should use init the base correctly"}]},{"numFailingTests":0,"numPassingTests":15,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1780003988195,"loadTestEnvironmentEnd":1780003979027,"loadTestEnvironmentStart":1780003978394,"runtime":9166,"setupAfterEnvEnd":1780003980142,"setupAfterEnvStart":1780003980142,"setupFilesEnd":1780003979029,"setupFilesStart":1780003979029,"slow":true,"start":1780003979029},"testFilePath":"/home/mathias/Github/bexio/src/tests/Invoices.test.ts","failureMessage":null,"testResults":[{"ancestorTitles":["Invoices"],"duration":3,"failureMessages":[],"fullName":"Invoices Should use init the base correctly","status":"passed","title":"Should use init the base correctly"},{"ancestorTitles":["Invoices","send"],"duration":2,"failureMessages":[],"fullName":"Invoices send Should call request with POST and correct path","status":"passed","title":"Should call request with POST and correct path"},{"ancestorTitles":["Invoices","issue"],"duration":0,"failureMessages":[],"fullName":"Invoices issue Should call request with POST and correct path","status":"passed","title":"Should call request with POST and correct path"},{"ancestorTitles":["Invoices","markAsSent"],"duration":1,"failureMessages":[],"fullName":"Invoices markAsSent Should call request with POST and correct path","status":"passed","title":"Should call request with POST and correct path"},{"ancestorTitles":["Invoices","showPdf"],"duration":0,"failureMessages":[],"fullName":"Invoices showPdf Should call request with GET and correct path","status":"passed","title":"Should call request with GET and correct path"},{"ancestorTitles":["Invoices","showPdf"],"duration":1,"failureMessages":[],"fullName":"Invoices showPdf Should pass logopaper option when provided","status":"passed","title":"Should pass logopaper option when provided"},{"ancestorTitles":["Invoices","showPdf"],"duration":0,"failureMessages":[],"fullName":"Invoices showPdf Should decode the base64 content into a Buffer","status":"passed","title":"Should decode the base64 content into a Buffer"},{"ancestorTitles":["Invoices","revertIssue"],"duration":0,"failureMessages":[],"fullName":"Invoices revertIssue Should call request with POST and correct path","status":"passed","title":"Should call request with POST and correct path"},{"ancestorTitles":["Invoices","createPayment"],"duration":0,"failureMessages":[],"fullName":"Invoices createPayment Should call request with POST and correct path and formatted data","status":"passed","title":"Should call request with POST and correct path and formatted data"},{"ancestorTitles":["Invoices","createPayment"],"duration":1,"failureMessages":[],"fullName":"Invoices createPayment Should call request without optional parameters","status":"passed","title":"Should call request without optional parameters"},{"ancestorTitles":["Invoices","getPayment"],"duration":0,"failureMessages":[],"fullName":"Invoices getPayment Should call request with GET and correct path","status":"passed","title":"Should call request with GET and correct path"},{"ancestorTitles":["Invoices","deletePayment"],"duration":1,"failureMessages":[],"fullName":"Invoices deletePayment Should call request with DELETE and correct path","status":"passed","title":"Should call request with DELETE and correct path"},{"ancestorTitles":["Invoices","createDefaultPosition"],"duration":0,"failureMessages":[],"fullName":"Invoices createDefaultPosition Should call request with POST and correct path","status":"passed","title":"Should call request with POST and correct path"},{"ancestorTitles":["Invoices","createItemPosition"],"duration":1,"failureMessages":[],"fullName":"Invoices createItemPosition Should call request with POST and correct path","status":"passed","title":"Should call request with POST and correct path"},{"ancestorTitles":["Invoices","createTextPosition"],"duration":0,"failureMessages":[],"fullName":"Invoices createTextPosition Should call request with POST and correct path","status":"passed","title":"Should call request with POST and correct path"}]}],"config":{"bail":0,"changedFilesWithAncestor":false,"ci":false,"collectCoverage":true,"collectCoverageFrom":["src/**/*.{ts,tsx}","!**/node_modules/**","!**/coverage/**"],"coverageDirectory":"/home/mathias/Github/bexio/coverage","coverageProvider":"babel","coverageReporters":["html"],"detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"expand":false,"findRelatedTests":false,"forceExit":false,"json":false,"lastCommit":false,"listTests":false,"logHeapUsage":false,"maxConcurrency":5,"maxWorkers":19,"noStackTrace":false,"nonFlagArgs":[],"notify":false,"notifyMode":"failure-change","onlyChanged":false,"onlyFailures":false,"openHandlesTimeout":1000,"passWithNoTests":false,"projects":[],"reporters":[["default",{}],["/home/mathias/Github/bexio/node_modules/jest-html-reporters/index.js",{}],["/home/mathias/Github/bexio/node_modules/jest-junit/index.js",{}]],"rootDir":"/home/mathias/Github/bexio","runInBand":false,"runTestsByPath":false,"seed":2038179213,"skipFilter":false,"snapshotFormat":{"escapeString":false,"printBasicPrototype":false},"testFailureExitCode":1,"testPathPatterns":{"patterns":[],"type":"TestPathPatterns"},"testSequencer":"/home/mathias/Github/bexio/node_modules/@jest/test-sequencer/build/index.js","updateSnapshot":"new","useStderr":false,"waitForUnhandledRejections":false,"watch":false,"watchAll":false,"watchman":true,"workerThreads":false,"coverageLinkPath":"coverage/index.html"},"endTime":1780003988417,"_reporterOptions":{"publicPath":"/home/mathias/Github/bexio","filename":"jest_html_reporters.html","expand":false,"pageTitle":"","hideIcon":false,"testCommand":"","openReport":false,"failureMessageOnly":0,"enableMergeData":false,"dataMergeLevel":1,"inlineSource":false,"urlForTestFiles":"","darkTheme":false,"includeConsoleLog":false,"stripSkippedTest":false},"logInfoMapping":{},"attachInfos":{}})
|
package/junit.xml
CHANGED
|
@@ -1,191 +1,171 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<testsuites name="jest tests" tests="
|
|
3
|
-
<testsuite name="
|
|
4
|
-
<testcase classname="
|
|
2
|
+
<testsuites name="jest tests" tests="139" failures="0" errors="0" time="10.54">
|
|
3
|
+
<testsuite name="Payments" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:32:58" time="7.073" tests="1">
|
|
4
|
+
<testcase classname="Payments Should use init the base correctly" name="Payments Should use init the base correctly" time="0.018">
|
|
5
5
|
</testcase>
|
|
6
6
|
</testsuite>
|
|
7
|
-
<testsuite name="
|
|
8
|
-
<testcase classname="
|
|
9
|
-
</testcase>
|
|
10
|
-
<testcase classname="BillsV4 list Should call request with GET" name="BillsV4 list Should call request with GET" time="0.006">
|
|
11
|
-
</testcase>
|
|
12
|
-
<testcase classname="BillsV4 list Should pass options to request" name="BillsV4 list Should pass options to request" time="0.003">
|
|
13
|
-
</testcase>
|
|
14
|
-
<testcase classname="BillsV4 list should list bills with options" name="BillsV4 list should list bills with options" time="0.004">
|
|
15
|
-
</testcase>
|
|
16
|
-
<testcase classname="BillsV4 updateStatus Should call request with PUT and correct path" name="BillsV4 updateStatus Should call request with PUT and correct path" time="0.004">
|
|
17
|
-
</testcase>
|
|
18
|
-
<testcase classname="BillsV4 executeAction Should call request with POST and correct path and data" name="BillsV4 executeAction Should call request with POST and correct path and data" time="0.003">
|
|
19
|
-
</testcase>
|
|
20
|
-
<testcase classname="BillsV4 validateDocumentNumber Should call request with GET and correct path and data" name="BillsV4 validateDocumentNumber Should call request with GET and correct path and data" time="0.002">
|
|
21
|
-
</testcase>
|
|
22
|
-
<testcase classname="BillsV4 search Should throw not implemented error" name="BillsV4 search Should throw not implemented error" time="0.029">
|
|
23
|
-
</testcase>
|
|
24
|
-
<testcase classname="BillsV4 updateStatus Should call request with PUT and correct path" name="BillsV4 updateStatus Should call request with PUT and correct path" time="0.004">
|
|
25
|
-
</testcase>
|
|
26
|
-
<testcase classname="BillsV4 executeAction Should call request with POST and correct path and data" name="BillsV4 executeAction Should call request with POST and correct path and data" time="0.002">
|
|
27
|
-
</testcase>
|
|
28
|
-
<testcase classname="BillsV4 validateDocumentNumber Should call request with GET and correct path and query" name="BillsV4 validateDocumentNumber Should call request with GET and correct path and query" time="0.003">
|
|
7
|
+
<testsuite name="Currencies" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:32:58" time="7.482" tests="1">
|
|
8
|
+
<testcase classname="Currencies Should use init the base correctly" name="Currencies Should use init the base correctly" time="0.023">
|
|
29
9
|
</testcase>
|
|
30
10
|
</testsuite>
|
|
31
|
-
<testsuite name="
|
|
32
|
-
<testcase classname="
|
|
33
|
-
</testcase>
|
|
34
|
-
<testcase classname="Taxes should list taxes with parameters" name="Taxes should list taxes with parameters" time="0.001">
|
|
35
|
-
</testcase>
|
|
36
|
-
<testcase classname="Taxes should show a tax" name="Taxes should show a tax" time="0.002">
|
|
11
|
+
<testsuite name="ProjectStatuses" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:32:58" time="7.667" tests="1">
|
|
12
|
+
<testcase classname="ProjectStatuses Should use init the base correctly" name="ProjectStatuses Should use init the base correctly" time="0.01">
|
|
37
13
|
</testcase>
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
<testcase classname="
|
|
14
|
+
</testsuite>
|
|
15
|
+
<testsuite name="Projects" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:32:58" time="7.68" tests="1">
|
|
16
|
+
<testcase classname="Projects Should use init the base correctly" name="Projects Should use init the base correctly" time="0.016">
|
|
41
17
|
</testcase>
|
|
42
|
-
|
|
18
|
+
</testsuite>
|
|
19
|
+
<testsuite name="ContactTypes" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:33:06" time="0.591" tests="1">
|
|
20
|
+
<testcase classname="ContactTypes Should use init the base correctly" name="ContactTypes Should use init the base correctly" time="0.002">
|
|
43
21
|
</testcase>
|
|
44
|
-
|
|
22
|
+
</testsuite>
|
|
23
|
+
<testsuite name="ContactRelations" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:33:06" time="0.22" tests="1">
|
|
24
|
+
<testcase classname="ContactRelations Should use init the base correctly" name="ContactRelations Should use init the base correctly" time="0.002">
|
|
45
25
|
</testcase>
|
|
46
|
-
|
|
26
|
+
</testsuite>
|
|
27
|
+
<testsuite name="ContactSectors" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:33:06" time="0.359" tests="1">
|
|
28
|
+
<testcase classname="ContactSectors Should use init the base correctly" name="ContactSectors Should use init the base correctly" time="0.003">
|
|
47
29
|
</testcase>
|
|
48
30
|
</testsuite>
|
|
49
|
-
<testsuite name="
|
|
50
|
-
<testcase classname="
|
|
31
|
+
<testsuite name="Orders" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:32:58" time="7.95" tests="7">
|
|
32
|
+
<testcase classname="Orders Should use init the base correctly" name="Orders Should use init the base correctly" time="0.013">
|
|
51
33
|
</testcase>
|
|
52
|
-
<testcase classname="
|
|
34
|
+
<testcase classname="Orders createDefaultPosition Should create a new DefaultPosition object" name="Orders createDefaultPosition Should create a new DefaultPosition object" time="0.005">
|
|
53
35
|
</testcase>
|
|
54
|
-
<testcase classname="
|
|
36
|
+
<testcase classname="Orders createDefaultPosition Should call create" name="Orders createDefaultPosition Should call create" time="0.005">
|
|
55
37
|
</testcase>
|
|
56
|
-
<testcase classname="
|
|
38
|
+
<testcase classname="Orders createItemPosition Should create a new ItemPosition object" name="Orders createItemPosition Should create a new ItemPosition object" time="0.01">
|
|
57
39
|
</testcase>
|
|
58
|
-
<testcase classname="
|
|
40
|
+
<testcase classname="Orders createItemPosition Should call create" name="Orders createItemPosition Should call create" time="0.005">
|
|
59
41
|
</testcase>
|
|
60
|
-
<testcase classname="
|
|
42
|
+
<testcase classname="Orders createTextPosition Should create a new TextPosition object" name="Orders createTextPosition Should create a new TextPosition object" time="0.004">
|
|
61
43
|
</testcase>
|
|
62
|
-
<testcase classname="
|
|
44
|
+
<testcase classname="Orders createTextPosition Should call create" name="Orders createTextPosition Should call create" time="0.005">
|
|
63
45
|
</testcase>
|
|
64
|
-
|
|
46
|
+
</testsuite>
|
|
47
|
+
<testsuite name="Items" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:32:58" time="8.025" tests="1">
|
|
48
|
+
<testcase classname="Items Should use init the base correctly" name="Items Should use init the base correctly" time="0.013">
|
|
65
49
|
</testcase>
|
|
66
|
-
|
|
50
|
+
</testsuite>
|
|
51
|
+
<testsuite name="ItemPositions" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:32:58" time="8.122" tests="1">
|
|
52
|
+
<testcase classname="ItemPositions Should use init the base correctly" name="ItemPositions Should use init the base correctly" time="0.015">
|
|
67
53
|
</testcase>
|
|
68
54
|
</testsuite>
|
|
69
|
-
<testsuite name="
|
|
70
|
-
<testcase classname="
|
|
55
|
+
<testsuite name="BusinessActivities" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:33:06" time="0.355" tests="1">
|
|
56
|
+
<testcase classname="BusinessActivities Should use init the base correctly" name="BusinessActivities Should use init the base correctly" time="0.006">
|
|
71
57
|
</testcase>
|
|
72
58
|
</testsuite>
|
|
73
|
-
<testsuite name="
|
|
74
|
-
<testcase classname="
|
|
59
|
+
<testsuite name="ContactGroups" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:33:06" time="0.482" tests="1">
|
|
60
|
+
<testcase classname="ContactGroups Should use init the base correctly" name="ContactGroups Should use init the base correctly" time="0.002">
|
|
75
61
|
</testcase>
|
|
76
|
-
|
|
62
|
+
</testsuite>
|
|
63
|
+
<testsuite name="BillsV4" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:33:06" time="0.439" tests="11">
|
|
64
|
+
<testcase classname="BillsV4 Should use init the base correctly" name="BillsV4 Should use init the base correctly" time="0.003">
|
|
77
65
|
</testcase>
|
|
78
|
-
<testcase classname="
|
|
66
|
+
<testcase classname="BillsV4 list Should call request with GET" name="BillsV4 list Should call request with GET" time="0.002">
|
|
79
67
|
</testcase>
|
|
80
|
-
<testcase classname="
|
|
68
|
+
<testcase classname="BillsV4 list Should pass options to request" name="BillsV4 list Should pass options to request" time="0.001">
|
|
81
69
|
</testcase>
|
|
82
|
-
<testcase classname="
|
|
70
|
+
<testcase classname="BillsV4 list should list bills with options" name="BillsV4 list should list bills with options" time="0.003">
|
|
83
71
|
</testcase>
|
|
84
|
-
<testcase classname="
|
|
72
|
+
<testcase classname="BillsV4 updateStatus Should call request with PUT and correct path" name="BillsV4 updateStatus Should call request with PUT and correct path" time="0.002">
|
|
85
73
|
</testcase>
|
|
86
|
-
<testcase classname="
|
|
74
|
+
<testcase classname="BillsV4 executeAction Should call request with POST and correct path and data" name="BillsV4 executeAction Should call request with POST and correct path and data" time="0.002">
|
|
87
75
|
</testcase>
|
|
88
|
-
<testcase classname="
|
|
76
|
+
<testcase classname="BillsV4 validateDocumentNumber Should call request with GET and correct path and data" name="BillsV4 validateDocumentNumber Should call request with GET and correct path and data" time="0.002">
|
|
89
77
|
</testcase>
|
|
90
|
-
<testcase classname="
|
|
78
|
+
<testcase classname="BillsV4 search Should throw not implemented error" name="BillsV4 search Should throw not implemented error" time="0.014">
|
|
91
79
|
</testcase>
|
|
92
|
-
|
|
93
|
-
<testsuite name="Timetrackings" errors="0" failures="0" skipped="0" timestamp="2026-05-11T13:31:13" time="0.322" tests="1">
|
|
94
|
-
<testcase classname="Timetrackings Should use init the base correctly" name="Timetrackings Should use init the base correctly" time="0.003">
|
|
80
|
+
<testcase classname="BillsV4 updateStatus Should call request with PUT and correct path" name="BillsV4 updateStatus Should call request with PUT and correct path" time="0.001">
|
|
95
81
|
</testcase>
|
|
96
|
-
|
|
97
|
-
<testsuite name="OutgoingPayments" errors="0" failures="0" skipped="0" timestamp="2026-05-11T13:31:05" time="8.773" tests="10">
|
|
98
|
-
<testcase classname="OutgoingPayments Should use init the base correctly" name="OutgoingPayments Should use init the base correctly" time="0.011">
|
|
82
|
+
<testcase classname="BillsV4 executeAction Should call request with POST and correct path and data" name="BillsV4 executeAction Should call request with POST and correct path and data" time="0.003">
|
|
99
83
|
</testcase>
|
|
100
|
-
<testcase classname="
|
|
84
|
+
<testcase classname="BillsV4 validateDocumentNumber Should call request with GET and correct path and query" name="BillsV4 validateDocumentNumber Should call request with GET and correct path and query" time="0.001">
|
|
101
85
|
</testcase>
|
|
102
|
-
|
|
86
|
+
</testsuite>
|
|
87
|
+
<testsuite name="Taxes" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:32:58" time="8.317" tests="8">
|
|
88
|
+
<testcase classname="Taxes should list taxes" name="Taxes should list taxes" time="0.015">
|
|
103
89
|
</testcase>
|
|
104
|
-
<testcase classname="
|
|
90
|
+
<testcase classname="Taxes should list taxes with parameters" name="Taxes should list taxes with parameters" time="0.002">
|
|
105
91
|
</testcase>
|
|
106
|
-
<testcase classname="
|
|
92
|
+
<testcase classname="Taxes should show a tax" name="Taxes should show a tax" time="0.002">
|
|
107
93
|
</testcase>
|
|
108
|
-
<testcase classname="
|
|
94
|
+
<testcase classname="Taxes should delete a tax" name="Taxes should delete a tax" time="0.003">
|
|
109
95
|
</testcase>
|
|
110
|
-
<testcase classname="
|
|
96
|
+
<testcase classname="Taxes should throw error for unimplemented search" name="Taxes should throw error for unimplemented search" time="0.018">
|
|
111
97
|
</testcase>
|
|
112
|
-
<testcase classname="
|
|
98
|
+
<testcase classname="Taxes should throw error for unimplemented create" name="Taxes should throw error for unimplemented create" time="0.002">
|
|
113
99
|
</testcase>
|
|
114
|
-
<testcase classname="
|
|
100
|
+
<testcase classname="Taxes should throw error for unimplemented overwrite" name="Taxes should throw error for unimplemented overwrite" time="0.005">
|
|
115
101
|
</testcase>
|
|
116
|
-
<testcase classname="
|
|
102
|
+
<testcase classname="Taxes should throw error for unimplemented edit" name="Taxes should throw error for unimplemented edit" time="0.002">
|
|
117
103
|
</testcase>
|
|
118
104
|
</testsuite>
|
|
119
|
-
<testsuite name="
|
|
120
|
-
<testcase classname="
|
|
121
|
-
</testcase>
|
|
122
|
-
<testcase classname="Invoices send Should call request with POST and correct path" name="Invoices send Should call request with POST and correct path" time="0.005">
|
|
105
|
+
<testsuite name="Bills" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:33:06" time="0.428" tests="11">
|
|
106
|
+
<testcase classname="Bills Should use init the base correctly" name="Bills Should use init the base correctly" time="0.004">
|
|
123
107
|
</testcase>
|
|
124
|
-
<testcase classname="
|
|
108
|
+
<testcase classname="Bills issue request" name="Bills issue request" time="0.002">
|
|
125
109
|
</testcase>
|
|
126
|
-
<testcase classname="
|
|
110
|
+
<testcase classname="Bills revertIssue request" name="Bills revertIssue request" time="0.002">
|
|
127
111
|
</testcase>
|
|
128
|
-
<testcase classname="
|
|
112
|
+
<testcase classname="Bills list Should call base list" name="Bills list Should call base list" time="0.001">
|
|
129
113
|
</testcase>
|
|
130
|
-
<testcase classname="
|
|
114
|
+
<testcase classname="Bills list Should pass options to base list" name="Bills list Should pass options to base list" time="0.002">
|
|
131
115
|
</testcase>
|
|
132
|
-
<testcase classname="
|
|
116
|
+
<testcase classname="Bills showPayment Should create a new Payment object" name="Bills showPayment Should create a new Payment object" time="0.004">
|
|
133
117
|
</testcase>
|
|
134
|
-
<testcase classname="
|
|
118
|
+
<testcase classname="Bills showPayment Should pass the options down" name="Bills showPayment Should pass the options down" time="0.003">
|
|
135
119
|
</testcase>
|
|
136
|
-
<testcase classname="
|
|
120
|
+
<testcase classname="Bills createPayment Should create a new Payment object" name="Bills createPayment Should create a new Payment object" time="0.003">
|
|
137
121
|
</testcase>
|
|
138
|
-
<testcase classname="
|
|
122
|
+
<testcase classname="Bills createPayment Should call create" name="Bills createPayment Should call create" time="0.004">
|
|
139
123
|
</testcase>
|
|
140
|
-
<testcase classname="
|
|
124
|
+
<testcase classname="Bills deletePayment Should create a new Payment object" name="Bills deletePayment Should create a new Payment object" time="0.003">
|
|
141
125
|
</testcase>
|
|
142
|
-
<testcase classname="
|
|
126
|
+
<testcase classname="Bills deletePayment Should call delete" name="Bills deletePayment Should call delete" time="0.002">
|
|
143
127
|
</testcase>
|
|
144
128
|
</testsuite>
|
|
145
|
-
<testsuite name="
|
|
146
|
-
<testcase classname="
|
|
129
|
+
<testsuite name="DefaultPositions" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:32:58" time="8.378" tests="1">
|
|
130
|
+
<testcase classname="DefaultPositions Should use init the base correctly" name="DefaultPositions Should use init the base correctly" time="0.011">
|
|
147
131
|
</testcase>
|
|
148
132
|
</testsuite>
|
|
149
|
-
<testsuite name="
|
|
150
|
-
<testcase classname="
|
|
133
|
+
<testsuite name="TimetrackingStatuses" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:32:58" time="8.712" tests="1">
|
|
134
|
+
<testcase classname="TimetrackingStatuses Should use init the base correctly" name="TimetrackingStatuses Should use init the base correctly" time="0.008">
|
|
151
135
|
</testcase>
|
|
152
136
|
</testsuite>
|
|
153
|
-
<testsuite name="
|
|
154
|
-
<testcase classname="
|
|
137
|
+
<testsuite name="BankAccounts" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:33:07" time="0.673" tests="9">
|
|
138
|
+
<testcase classname="BankAccounts Should use init the base correctly" name="BankAccounts Should use init the base correctly" time="0.005">
|
|
155
139
|
</testcase>
|
|
156
|
-
|
|
157
|
-
<testsuite name="Projects" errors="0" failures="0" skipped="0" timestamp="2026-05-11T13:31:14" time="0.41" tests="1">
|
|
158
|
-
<testcase classname="Projects Should use init the base correctly" name="Projects Should use init the base correctly" time="0.002">
|
|
140
|
+
<testcase classname="BankAccounts list Should call request with GET" name="BankAccounts list Should call request with GET" time="0.003">
|
|
159
141
|
</testcase>
|
|
160
|
-
|
|
161
|
-
<testsuite name="ContactGroups" errors="0" failures="0" skipped="0" timestamp="2026-05-11T13:31:13" time="0.626" tests="1">
|
|
162
|
-
<testcase classname="ContactGroups Should use init the base correctly" name="ContactGroups Should use init the base correctly" time="0.005">
|
|
142
|
+
<testcase classname="BankAccounts list Should pass options to request" name="BankAccounts list Should pass options to request" time="0.002">
|
|
163
143
|
</testcase>
|
|
164
|
-
|
|
165
|
-
<testsuite name="Expenses" errors="0" failures="0" skipped="0" timestamp="2026-05-11T13:31:14" time="0.278" tests="1">
|
|
166
|
-
<testcase classname="Expenses Should use init the base correctly" name="Expenses Should use init the base correctly" time="0.002">
|
|
144
|
+
<testcase classname="BankAccounts show Should call request with GET and correct path" name="BankAccounts show Should call request with GET and correct path" time="0.002">
|
|
167
145
|
</testcase>
|
|
168
|
-
|
|
169
|
-
<testsuite name="ProjectTypes" errors="0" failures="0" skipped="0" timestamp="2026-05-11T13:31:13" time="0.639" tests="1">
|
|
170
|
-
<testcase classname="ProjectTypes Should use init the base correctly" name="ProjectTypes Should use init the base correctly" time="0.009">
|
|
146
|
+
<testcase classname="BankAccounts Unsupported methods search should throw error" name="BankAccounts Unsupported methods search should throw error" time="0.019">
|
|
171
147
|
</testcase>
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
<testcase classname="
|
|
148
|
+
<testcase classname="BankAccounts Unsupported methods create should throw error" name="BankAccounts Unsupported methods create should throw error" time="0.003">
|
|
149
|
+
</testcase>
|
|
150
|
+
<testcase classname="BankAccounts Unsupported methods overwrite should throw error" name="BankAccounts Unsupported methods overwrite should throw error" time="0.003">
|
|
151
|
+
</testcase>
|
|
152
|
+
<testcase classname="BankAccounts Unsupported methods edit should throw error" name="BankAccounts Unsupported methods edit should throw error" time="0.002">
|
|
153
|
+
</testcase>
|
|
154
|
+
<testcase classname="BankAccounts Unsupported methods delete should throw error" name="BankAccounts Unsupported methods delete should throw error" time="0.003">
|
|
175
155
|
</testcase>
|
|
176
156
|
</testsuite>
|
|
177
|
-
<testsuite name="BaseCrud" errors="0" failures="0" skipped="0" timestamp="2026-05-
|
|
178
|
-
<testcase classname="BaseCrud list Should be a GET request" name="BaseCrud list Should be a GET request" time="0.
|
|
157
|
+
<testsuite name="BaseCrud" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:33:07" time="0.732" tests="30">
|
|
158
|
+
<testcase classname="BaseCrud list Should be a GET request" name="BaseCrud list Should be a GET request" time="0.002">
|
|
179
159
|
</testcase>
|
|
180
|
-
<testcase classname="BaseCrud list Should use the given endpoint" name="BaseCrud list Should use the given endpoint" time="0
|
|
160
|
+
<testcase classname="BaseCrud list Should use the given endpoint" name="BaseCrud list Should use the given endpoint" time="0">
|
|
181
161
|
</testcase>
|
|
182
|
-
<testcase classname="BaseCrud list Should pass the options to request" name="BaseCrud list Should pass the options to request" time="0
|
|
162
|
+
<testcase classname="BaseCrud list Should pass the options to request" name="BaseCrud list Should pass the options to request" time="0">
|
|
183
163
|
</testcase>
|
|
184
|
-
<testcase classname="BaseCrud list Should handle array options correctly" name="BaseCrud list Should handle array options correctly" time="0
|
|
164
|
+
<testcase classname="BaseCrud list Should handle array options correctly" name="BaseCrud list Should handle array options correctly" time="0">
|
|
185
165
|
</testcase>
|
|
186
|
-
<testcase classname="BaseCrud search Should be a POST request" name="BaseCrud search Should be a POST request" time="0
|
|
166
|
+
<testcase classname="BaseCrud search Should be a POST request" name="BaseCrud search Should be a POST request" time="0">
|
|
187
167
|
</testcase>
|
|
188
|
-
<testcase classname="BaseCrud search Should use the given endpoint" name="BaseCrud search Should use the given endpoint" time="0
|
|
168
|
+
<testcase classname="BaseCrud search Should use the given endpoint" name="BaseCrud search Should use the given endpoint" time="0">
|
|
189
169
|
</testcase>
|
|
190
170
|
<testcase classname="BaseCrud search Should contain the request body" name="BaseCrud search Should contain the request body" time="0.001">
|
|
191
171
|
</testcase>
|
|
@@ -193,11 +173,11 @@
|
|
|
193
173
|
</testcase>
|
|
194
174
|
<testcase classname="BaseCrud show Should be a GET request" name="BaseCrud show Should be a GET request" time="0.001">
|
|
195
175
|
</testcase>
|
|
196
|
-
<testcase classname="BaseCrud show Should use the given endpoint" name="BaseCrud show Should use the given endpoint" time="0">
|
|
176
|
+
<testcase classname="BaseCrud show Should use the given endpoint" name="BaseCrud show Should use the given endpoint" time="0.001">
|
|
197
177
|
</testcase>
|
|
198
|
-
<testcase classname="BaseCrud show Should pass the options to request" name="BaseCrud show Should pass the options to request" time="0">
|
|
178
|
+
<testcase classname="BaseCrud show Should pass the options to request" name="BaseCrud show Should pass the options to request" time="0.001">
|
|
199
179
|
</testcase>
|
|
200
|
-
<testcase classname="BaseCrud create Should be a POST request" name="BaseCrud create Should be a POST request" time="0">
|
|
180
|
+
<testcase classname="BaseCrud create Should be a POST request" name="BaseCrud create Should be a POST request" time="0.001">
|
|
201
181
|
</testcase>
|
|
202
182
|
<testcase classname="BaseCrud create Should use the given endpoint" name="BaseCrud create Should use the given endpoint" time="0.001">
|
|
203
183
|
</testcase>
|
|
@@ -205,19 +185,19 @@
|
|
|
205
185
|
</testcase>
|
|
206
186
|
<testcase classname="BaseCrud overwrite Should be a PUT request" name="BaseCrud overwrite Should be a PUT request" time="0.001">
|
|
207
187
|
</testcase>
|
|
208
|
-
<testcase classname="BaseCrud overwrite Should use the given endpoint" name="BaseCrud overwrite Should use the given endpoint" time="0">
|
|
188
|
+
<testcase classname="BaseCrud overwrite Should use the given endpoint" name="BaseCrud overwrite Should use the given endpoint" time="0.001">
|
|
209
189
|
</testcase>
|
|
210
|
-
<testcase classname="BaseCrud overwrite Should contain the request body" name="BaseCrud overwrite Should contain the request body" time="0
|
|
190
|
+
<testcase classname="BaseCrud overwrite Should contain the request body" name="BaseCrud overwrite Should contain the request body" time="0">
|
|
211
191
|
</testcase>
|
|
212
192
|
<testcase classname="BaseCrud edit Should be a POST request" name="BaseCrud edit Should be a POST request" time="0.001">
|
|
213
193
|
</testcase>
|
|
214
194
|
<testcase classname="BaseCrud edit Should use the given endpoint" name="BaseCrud edit Should use the given endpoint" time="0">
|
|
215
195
|
</testcase>
|
|
216
|
-
<testcase classname="BaseCrud edit Should contain the request body" name="BaseCrud edit Should contain the request body" time="0
|
|
196
|
+
<testcase classname="BaseCrud edit Should contain the request body" name="BaseCrud edit Should contain the request body" time="0">
|
|
217
197
|
</testcase>
|
|
218
|
-
<testcase classname="BaseCrud delete Should be a DELETE request" name="BaseCrud delete Should be a DELETE request" time="0.
|
|
198
|
+
<testcase classname="BaseCrud delete Should be a DELETE request" name="BaseCrud delete Should be a DELETE request" time="0.005">
|
|
219
199
|
</testcase>
|
|
220
|
-
<testcase classname="BaseCrud delete Should use the given endpoint" name="BaseCrud delete Should use the given endpoint" time="0">
|
|
200
|
+
<testcase classname="BaseCrud delete Should use the given endpoint" name="BaseCrud delete Should use the given endpoint" time="0.001">
|
|
221
201
|
</testcase>
|
|
222
202
|
<testcase classname="BaseCrud delete Should return the success value" name="BaseCrud delete Should return the success value" time="0.001">
|
|
223
203
|
</testcase>
|
|
@@ -225,109 +205,135 @@
|
|
|
225
205
|
</testcase>
|
|
226
206
|
<testcase classname="BaseCrud request Should add a data param if present" name="BaseCrud request Should add a data param if present" time="0.001">
|
|
227
207
|
</testcase>
|
|
228
|
-
<testcase classname="BaseCrud request Should add options as GET params" name="BaseCrud request Should add options as GET params" time="0">
|
|
208
|
+
<testcase classname="BaseCrud request Should add options as GET params" name="BaseCrud request Should add options as GET params" time="0.001">
|
|
229
209
|
</testcase>
|
|
230
210
|
<testcase classname="BaseCrud request Should normalize an error" name="BaseCrud request Should normalize an error" time="0.002">
|
|
231
211
|
</testcase>
|
|
232
|
-
<testcase classname="BaseCrud optionsToQuery Should return an empty string" name="BaseCrud optionsToQuery Should return an empty string" time="0
|
|
212
|
+
<testcase classname="BaseCrud optionsToQuery Should return an empty string" name="BaseCrud optionsToQuery Should return an empty string" time="0">
|
|
233
213
|
</testcase>
|
|
234
214
|
<testcase classname="BaseCrud optionsToQuery Should return an GET parameter string" name="BaseCrud optionsToQuery Should return an GET parameter string" time="0">
|
|
235
215
|
</testcase>
|
|
236
|
-
<testcase classname="BaseCrud optionsToQuery Should url encode the parameters" name="BaseCrud optionsToQuery Should url encode the parameters" time="0">
|
|
216
|
+
<testcase classname="BaseCrud optionsToQuery Should url encode the parameters" name="BaseCrud optionsToQuery Should url encode the parameters" time="0.001">
|
|
237
217
|
</testcase>
|
|
238
218
|
</testsuite>
|
|
239
|
-
<testsuite name="
|
|
240
|
-
<testcase classname="
|
|
219
|
+
<testsuite name="Accounts" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:33:07" time="0.678" tests="9">
|
|
220
|
+
<testcase classname="Accounts Should use init the base correctly" name="Accounts Should use init the base correctly" time="0.004">
|
|
241
221
|
</testcase>
|
|
242
|
-
|
|
243
|
-
<testsuite name="Contacts" errors="0" failures="0" skipped="0" timestamp="2026-05-11T13:31:14" time="0.34" tests="1">
|
|
244
|
-
<testcase classname="Contacts Should use init the base correctly" name="Contacts Should use init the base correctly" time="0.004">
|
|
222
|
+
<testcase classname="Accounts list Should call request with GET" name="Accounts list Should call request with GET" time="0.002">
|
|
245
223
|
</testcase>
|
|
246
|
-
|
|
247
|
-
<testsuite name="BusinessActivities" errors="0" failures="0" skipped="0" timestamp="2026-05-11T13:31:05" time="9.199" tests="1">
|
|
248
|
-
<testcase classname="BusinessActivities Should use init the base correctly" name="BusinessActivities Should use init the base correctly" time="0.014">
|
|
224
|
+
<testcase classname="Accounts list Should pass options to request" name="Accounts list Should pass options to request" time="0.001">
|
|
249
225
|
</testcase>
|
|
250
|
-
|
|
251
|
-
<testsuite name="Items" errors="0" failures="0" skipped="0" timestamp="2026-05-11T13:31:14" time="0.306" tests="1">
|
|
252
|
-
<testcase classname="Items Should use init the base correctly" name="Items Should use init the base correctly" time="0.002">
|
|
226
|
+
<testcase classname="Accounts search Should call request with POST and /search" name="Accounts search Should call request with POST and /search" time="0.001">
|
|
253
227
|
</testcase>
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
<testcase classname="
|
|
228
|
+
<testcase classname="Accounts unimplemented methods should throw for show" name="Accounts unimplemented methods should throw for show" time="0.018">
|
|
229
|
+
</testcase>
|
|
230
|
+
<testcase classname="Accounts unimplemented methods should throw for create" name="Accounts unimplemented methods should throw for create" time="0.002">
|
|
231
|
+
</testcase>
|
|
232
|
+
<testcase classname="Accounts unimplemented methods should throw for overwrite" name="Accounts unimplemented methods should throw for overwrite" time="0.001">
|
|
233
|
+
</testcase>
|
|
234
|
+
<testcase classname="Accounts unimplemented methods should throw for edit" name="Accounts unimplemented methods should throw for edit" time="0.001">
|
|
235
|
+
</testcase>
|
|
236
|
+
<testcase classname="Accounts unimplemented methods should throw for delete" name="Accounts unimplemented methods should throw for delete" time="0.001">
|
|
257
237
|
</testcase>
|
|
258
238
|
</testsuite>
|
|
259
|
-
<testsuite name="
|
|
260
|
-
<testcase classname="
|
|
239
|
+
<testsuite name="ManualEntries" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:32:59" time="8.807" tests="10">
|
|
240
|
+
<testcase classname="ManualEntries Should use init the base correctly" name="ManualEntries Should use init the base correctly" time="0.015">
|
|
261
241
|
</testcase>
|
|
262
|
-
<testcase classname="
|
|
242
|
+
<testcase classname="ManualEntries list Should call request with GET" name="ManualEntries list Should call request with GET" time="0.005">
|
|
263
243
|
</testcase>
|
|
264
|
-
<testcase classname="
|
|
244
|
+
<testcase classname="ManualEntries list Should pass options to request" name="ManualEntries list Should pass options to request" time="0.003">
|
|
265
245
|
</testcase>
|
|
266
|
-
<testcase classname="
|
|
246
|
+
<testcase classname="ManualEntries create Should call request with POST and correct data" name="ManualEntries create Should call request with POST and correct data" time="0.002">
|
|
267
247
|
</testcase>
|
|
268
|
-
<testcase classname="
|
|
248
|
+
<testcase classname="ManualEntries show Should throw not implemented error" name="ManualEntries show Should throw not implemented error" time="0.022">
|
|
269
249
|
</testcase>
|
|
270
|
-
<testcase classname="
|
|
250
|
+
<testcase classname="ManualEntries overwrite Should call request with PUT and correct path and data" name="ManualEntries overwrite Should call request with PUT and correct path and data" time="0.002">
|
|
271
251
|
</testcase>
|
|
272
|
-
<testcase classname="
|
|
252
|
+
<testcase classname="ManualEntries delete Should call request with DELETE and correct path" name="ManualEntries delete Should call request with DELETE and correct path" time="0.001">
|
|
273
253
|
</testcase>
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
<testcase classname="
|
|
254
|
+
<testcase classname="ManualEntries search Should throw not implemented error" name="ManualEntries search Should throw not implemented error" time="0.002">
|
|
255
|
+
</testcase>
|
|
256
|
+
<testcase classname="ManualEntries edit Should throw not implemented error" name="ManualEntries edit Should throw not implemented error" time="0.001">
|
|
257
|
+
</testcase>
|
|
258
|
+
<testcase classname="ManualEntries getNextReferenceNumber Should call request with GET and correct path" name="ManualEntries getNextReferenceNumber Should call request with GET and correct path" time="0.001">
|
|
277
259
|
</testcase>
|
|
278
260
|
</testsuite>
|
|
279
|
-
<testsuite name="
|
|
280
|
-
<testcase classname="
|
|
261
|
+
<testsuite name="TextPositions" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:32:58" time="8.87" tests="1">
|
|
262
|
+
<testcase classname="TextPositions Should use init the base correctly" name="TextPositions Should use init the base correctly" time="0.009">
|
|
281
263
|
</testcase>
|
|
282
264
|
</testsuite>
|
|
283
|
-
<testsuite name="
|
|
284
|
-
<testcase classname="
|
|
265
|
+
<testsuite name="Contacts" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:32:59" time="8.796" tests="1">
|
|
266
|
+
<testcase classname="Contacts Should use init the base correctly" name="Contacts Should use init the base correctly" time="0.014">
|
|
285
267
|
</testcase>
|
|
286
268
|
</testsuite>
|
|
287
|
-
<testsuite name="
|
|
288
|
-
<testcase classname="
|
|
269
|
+
<testsuite name="OutgoingPayments" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:32:58" time="8.994" tests="10">
|
|
270
|
+
<testcase classname="OutgoingPayments Should use init the base correctly" name="OutgoingPayments Should use init the base correctly" time="0.011">
|
|
289
271
|
</testcase>
|
|
290
|
-
<testcase classname="
|
|
272
|
+
<testcase classname="OutgoingPayments list Should call request with GET" name="OutgoingPayments list Should call request with GET" time="0.003">
|
|
291
273
|
</testcase>
|
|
292
|
-
<testcase classname="
|
|
274
|
+
<testcase classname="OutgoingPayments search Should throw not implemented error" name="OutgoingPayments search Should throw not implemented error" time="0.011">
|
|
293
275
|
</testcase>
|
|
294
|
-
<testcase classname="
|
|
276
|
+
<testcase classname="OutgoingPayments show Should call request with GET and correct path" name="OutgoingPayments show Should call request with GET and correct path" time="0.001">
|
|
295
277
|
</testcase>
|
|
296
|
-
<testcase classname="
|
|
278
|
+
<testcase classname="OutgoingPayments create Should call request with POST and correct data" name="OutgoingPayments create Should call request with POST and correct data" time="0.001">
|
|
297
279
|
</testcase>
|
|
298
|
-
<testcase classname="
|
|
280
|
+
<testcase classname="OutgoingPayments update Should call request with PUT and correct data" name="OutgoingPayments update Should call request with PUT and correct data" time="0.001">
|
|
299
281
|
</testcase>
|
|
300
|
-
<testcase classname="
|
|
282
|
+
<testcase classname="OutgoingPayments delete Should call request with DELETE and correct path" name="OutgoingPayments delete Should call request with DELETE and correct path" time="0.001">
|
|
301
283
|
</testcase>
|
|
302
|
-
<testcase classname="
|
|
284
|
+
<testcase classname="OutgoingPayments cancel Should call request with POST and correct path" name="OutgoingPayments cancel Should call request with POST and correct path" time="0.001">
|
|
285
|
+
</testcase>
|
|
286
|
+
<testcase classname="OutgoingPayments overwrite Should throw not implemented error" name="OutgoingPayments overwrite Should throw not implemented error" time="0.002">
|
|
287
|
+
</testcase>
|
|
288
|
+
<testcase classname="OutgoingPayments edit Should throw not implemented error" name="OutgoingPayments edit Should throw not implemented error" time="0.001">
|
|
289
|
+
</testcase>
|
|
290
|
+
</testsuite>
|
|
291
|
+
<testsuite name="Timetrackings" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:32:58" time="9.073" tests="1">
|
|
292
|
+
<testcase classname="Timetrackings Should use init the base correctly" name="Timetrackings Should use init the base correctly" time="0.007">
|
|
303
293
|
</testcase>
|
|
304
|
-
|
|
294
|
+
</testsuite>
|
|
295
|
+
<testsuite name="Users" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:32:59" time="8.74" tests="1">
|
|
296
|
+
<testcase classname="Users Should use init the base correctly" name="Users Should use init the base correctly" time="0.007">
|
|
305
297
|
</testcase>
|
|
306
|
-
|
|
298
|
+
</testsuite>
|
|
299
|
+
<testsuite name="ProjectTypes" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:32:58" time="9.041" tests="1">
|
|
300
|
+
<testcase classname="ProjectTypes Should use init the base correctly" name="ProjectTypes Should use init the base correctly" time="0.008">
|
|
307
301
|
</testcase>
|
|
308
|
-
|
|
302
|
+
</testsuite>
|
|
303
|
+
<testsuite name="Expenses" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:32:58" time="9.398" tests="1">
|
|
304
|
+
<testcase classname="Expenses Should use init the base correctly" name="Expenses Should use init the base correctly" time="0.007">
|
|
309
305
|
</testcase>
|
|
310
306
|
</testsuite>
|
|
311
|
-
<testsuite name="
|
|
312
|
-
<testcase classname="
|
|
307
|
+
<testsuite name="Invoices" errors="0" failures="0" skipped="0" timestamp="2026-05-28T21:32:59" time="9.166" tests="15">
|
|
308
|
+
<testcase classname="Invoices Should use init the base correctly" name="Invoices Should use init the base correctly" time="0.003">
|
|
313
309
|
</testcase>
|
|
314
|
-
<testcase classname="
|
|
310
|
+
<testcase classname="Invoices send Should call request with POST and correct path" name="Invoices send Should call request with POST and correct path" time="0.002">
|
|
315
311
|
</testcase>
|
|
316
|
-
<testcase classname="
|
|
312
|
+
<testcase classname="Invoices issue Should call request with POST and correct path" name="Invoices issue Should call request with POST and correct path" time="0">
|
|
317
313
|
</testcase>
|
|
318
|
-
<testcase classname="
|
|
314
|
+
<testcase classname="Invoices markAsSent Should call request with POST and correct path" name="Invoices markAsSent Should call request with POST and correct path" time="0.001">
|
|
319
315
|
</testcase>
|
|
320
|
-
<testcase classname="
|
|
316
|
+
<testcase classname="Invoices showPdf Should call request with GET and correct path" name="Invoices showPdf Should call request with GET and correct path" time="0">
|
|
321
317
|
</testcase>
|
|
322
|
-
<testcase classname="
|
|
318
|
+
<testcase classname="Invoices showPdf Should pass logopaper option when provided" name="Invoices showPdf Should pass logopaper option when provided" time="0.001">
|
|
323
319
|
</testcase>
|
|
324
|
-
<testcase classname="
|
|
320
|
+
<testcase classname="Invoices showPdf Should decode the base64 content into a Buffer" name="Invoices showPdf Should decode the base64 content into a Buffer" time="0">
|
|
325
321
|
</testcase>
|
|
326
|
-
<testcase classname="
|
|
322
|
+
<testcase classname="Invoices revertIssue Should call request with POST and correct path" name="Invoices revertIssue Should call request with POST and correct path" time="0">
|
|
327
323
|
</testcase>
|
|
328
|
-
<testcase classname="
|
|
324
|
+
<testcase classname="Invoices createPayment Should call request with POST and correct path and formatted data" name="Invoices createPayment Should call request with POST and correct path and formatted data" time="0">
|
|
329
325
|
</testcase>
|
|
330
|
-
<testcase classname="
|
|
326
|
+
<testcase classname="Invoices createPayment Should call request without optional parameters" name="Invoices createPayment Should call request without optional parameters" time="0.001">
|
|
327
|
+
</testcase>
|
|
328
|
+
<testcase classname="Invoices getPayment Should call request with GET and correct path" name="Invoices getPayment Should call request with GET and correct path" time="0">
|
|
329
|
+
</testcase>
|
|
330
|
+
<testcase classname="Invoices deletePayment Should call request with DELETE and correct path" name="Invoices deletePayment Should call request with DELETE and correct path" time="0.001">
|
|
331
|
+
</testcase>
|
|
332
|
+
<testcase classname="Invoices createDefaultPosition Should call request with POST and correct path" name="Invoices createDefaultPosition Should call request with POST and correct path" time="0">
|
|
333
|
+
</testcase>
|
|
334
|
+
<testcase classname="Invoices createItemPosition Should call request with POST and correct path" name="Invoices createItemPosition Should call request with POST and correct path" time="0.001">
|
|
335
|
+
</testcase>
|
|
336
|
+
<testcase classname="Invoices createTextPosition Should call request with POST and correct path" name="Invoices createTextPosition Should call request with POST and correct path" time="0">
|
|
331
337
|
</testcase>
|
|
332
338
|
</testsuite>
|
|
333
339
|
</testsuites>
|
|
@@ -3,7 +3,7 @@ export declare namespace BaseStatic {
|
|
|
3
3
|
name: string;
|
|
4
4
|
size: number;
|
|
5
5
|
mime: string;
|
|
6
|
-
content:
|
|
6
|
+
content: Buffer;
|
|
7
7
|
}
|
|
8
8
|
type SearchCriteria = "=" | "!=" | ">" | "<" | ">=" | "<=" | "equal" | "not_equal" | "greater_than" | "less_than" | "greater_equal" | "less_equal" | "like" | "not_like" | "is_null" | "not_null" | "in" | "not_in";
|
|
9
9
|
interface SearchParameter<T> {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import BaseCrud from "./BaseCrud";
|
|
2
|
+
import { BaseStatic } from "../interfaces/BaseStatic";
|
|
2
3
|
import { InvoicesStatic } from "../interfaces/InvoicesStatic";
|
|
3
4
|
import { PositionsStatic } from "../interfaces/PositionsStatic";
|
|
4
5
|
export default class Invoices extends BaseCrud<InvoicesStatic.Invoice, InvoicesStatic.Invoice, InvoicesStatic.Invoice, InvoicesStatic.InvoiceSearchParameters, InvoicesStatic.InvoiceCreate, InvoicesStatic.InvoiceOverwrite> {
|
|
@@ -17,6 +18,15 @@ export default class Invoices extends BaseCrud<InvoicesStatic.Invoice, InvoicesS
|
|
|
17
18
|
*/
|
|
18
19
|
sent(id: number, ressource: Partial<InvoicesStatic.InvoiceSend>): Promise<InvoicesStatic.InvoiceSentAnswer>;
|
|
19
20
|
cancel(id: number): Promise<InvoicesStatic.InvoiceCancelled>;
|
|
21
|
+
/**
|
|
22
|
+
* This action returns a pdf document of the invoice.
|
|
23
|
+
*
|
|
24
|
+
* @param {number} id
|
|
25
|
+
* @param {0 | 1} [logopaper] Whether the PDF should be generated using the letterhead, or not.
|
|
26
|
+
* @returns {Promise<BaseStatic.PdfResponse>}
|
|
27
|
+
* @memberof Invoices
|
|
28
|
+
*/
|
|
29
|
+
showPdf(id: number, logopaper?: 0 | 1): Promise<BaseStatic.PdfResponse>;
|
|
20
30
|
/**
|
|
21
31
|
* Issue an invoice. The invoice must be in the draft status.
|
|
22
32
|
*
|
|
@@ -46,6 +46,20 @@ class Invoices extends BaseCrud_1.default {
|
|
|
46
46
|
return this.request("POST", `${this.apiEndpoint}/${id}/cancel`);
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* This action returns a pdf document of the invoice.
|
|
51
|
+
*
|
|
52
|
+
* @param {number} id
|
|
53
|
+
* @param {0 | 1} [logopaper] Whether the PDF should be generated using the letterhead, or not.
|
|
54
|
+
* @returns {Promise<BaseStatic.PdfResponse>}
|
|
55
|
+
* @memberof Invoices
|
|
56
|
+
*/
|
|
57
|
+
showPdf(id, logopaper) {
|
|
58
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
59
|
+
const response = yield this.request("GET", `${this.apiEndpoint}/${id}/pdf`, logopaper !== undefined ? { logopaper } : undefined);
|
|
60
|
+
return Object.assign(Object.assign({}, response), { content: Buffer.from(response.content, "base64") });
|
|
61
|
+
});
|
|
62
|
+
}
|
|
49
63
|
/**
|
|
50
64
|
* Issue an invoice. The invoice must be in the draft status.
|
|
51
65
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Invoices.js","sourceRoot":"","sources":["../../src/resources/Invoices.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,0DAAkC;
|
|
1
|
+
{"version":3,"file":"Invoices.js","sourceRoot":"","sources":["../../src/resources/Invoices.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,0DAAkC;AAIlC,0EAAkD;AAClD,oEAA4C;AAC5C,oEAA4C;AAE5C,MAAqB,QAAS,SAAQ,kBAOrC;IACC,YAAY,QAAgB;QAC1B,KAAK,CAAC,QAAQ,EAAE,iBAAiB,CAAC,CAAC;IACrC,CAAC;IAED;;;;;;;OAOG;IACU,IAAI,CACf,EAAU,EACV,SAA8C;;YAE9C,OAAO,IAAI,CAAC,OAAO,CACjB,MAAM,EACN,GAAG,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;IAED;;;;;;;OAOG;IACU,kBAAkB,CAC7B,SAAiB,EACjB,QAA4C;;YAE5C,OAAO,IAAI,uBAAa,CAAC,IAAI,CAAC,QAAQ,EAAE,YAAY,EAAE,SAAS,CAAC,CAAC,MAAM,CACrE,QAAQ,CACT,CAAC;QACJ,CAAC;KAAA;IAED;;;;;;;OAOG;IACU,kBAAkB,CAC7B,SAAiB,EACjB,QAA4C;;YAE5C,OAAO,IAAI,uBAAa,CAAC,IAAI,CAAC,QAAQ,EAAE,YAAY,EAAE,SAAS,CAAC,CAAC,MAAM,CACrE,QAAQ,CACT,CAAC;QACJ,CAAC;KAAA;CACF;AAlPD,2BAkPC"}
|
|
@@ -67,6 +67,31 @@ describe("Invoices", () => {
|
|
|
67
67
|
expect(requestSpy).toHaveBeenCalledWith("POST", `/2.0/kb_invoice/${id}/mark_as_sent`);
|
|
68
68
|
}));
|
|
69
69
|
});
|
|
70
|
+
describe("showPdf", () => {
|
|
71
|
+
beforeEach(() => {
|
|
72
|
+
requestSpy.mockResolvedValue({ content: "" });
|
|
73
|
+
});
|
|
74
|
+
it("Should call request with GET and correct path", () => __awaiter(void 0, void 0, void 0, function* () {
|
|
75
|
+
const invoices = new Invoices_1.default(chance.string());
|
|
76
|
+
const id = chance.integer();
|
|
77
|
+
yield invoices.showPdf(id);
|
|
78
|
+
expect(requestSpy).toHaveBeenCalledWith("GET", `/2.0/kb_invoice/${id}/pdf`, undefined);
|
|
79
|
+
}));
|
|
80
|
+
it("Should pass logopaper option when provided", () => __awaiter(void 0, void 0, void 0, function* () {
|
|
81
|
+
const invoices = new Invoices_1.default(chance.string());
|
|
82
|
+
const id = chance.integer();
|
|
83
|
+
yield invoices.showPdf(id, 0);
|
|
84
|
+
expect(requestSpy).toHaveBeenCalledWith("GET", `/2.0/kb_invoice/${id}/pdf`, { logopaper: 0 });
|
|
85
|
+
}));
|
|
86
|
+
it("Should decode the base64 content into a Buffer", () => __awaiter(void 0, void 0, void 0, function* () {
|
|
87
|
+
const invoices = new Invoices_1.default(chance.string());
|
|
88
|
+
const id = chance.integer();
|
|
89
|
+
const base64 = "R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=";
|
|
90
|
+
requestSpy.mockResolvedValueOnce({ content: base64 });
|
|
91
|
+
const result = yield invoices.showPdf(id);
|
|
92
|
+
expect(result.content).toEqual(Buffer.from(base64, "base64"));
|
|
93
|
+
}));
|
|
94
|
+
});
|
|
70
95
|
describe("revertIssue", () => {
|
|
71
96
|
it("Should call request with POST and correct path", () => __awaiter(void 0, void 0, void 0, function* () {
|
|
72
97
|
const invoices = new Invoices_1.default(chance.string());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Invoices.test.js","sourceRoot":"","sources":["../../src/tests/Invoices.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qEAA6C;AAC7C,qEAA6C;AAC7C,oDAA4B;AAI5B,MAAM,aAAa,GAAG,IAAI,gBAAM,EAAE,CAAC;AACnC,MAAM,IAAI,GAAG,aAAa,CAAC,IAAI,EAAE,CAAC;AAClC,OAAO,CAAC,GAAG,CAAC,qBAAqB,IAAI,EAAE,CAAC,CAAC;AACzC,MAAM,MAAM,GAAG,IAAI,gBAAM,CAAC,IAAI,CAAC,CAAC;AAEhC,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;IACxB,IAAI,UAA4B,CAAC;IAEjC,UAAU,CAAC,GAAG,EAAE;QACd,UAAU,GAAG,IAAI;aACd,KAAK,CAAC,kBAAQ,CAAC,SAAgB,EAAE,SAAS,CAAC;aAC3C,iBAAiB,CAAC,EAAE,CAAC,CAAC;IAC3B,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACb,UAAU,CAAC,WAAW,EAAE,CAAC;IAC3B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,oCAAoC,EAAE,GAAG,EAAE;QAC5C,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC;QA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