Skip to content

Commit

Permalink
docs: Updated for v5.1.1-develop.9
Browse files Browse the repository at this point in the history
  • Loading branch information
semantic-release-bot committed Mar 7, 2024
1 parent 5f8257d commit f2fa338
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion develop/coverage/badge-response.ts.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ <h1><a href="index.html">All files</a> badge-response.ts</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-03-05T10:40:04.956Z
at 2024-03-07T16:31:26.961Z
</div>
<script src="prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion develop/coverage/cobertura-coverage.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" ?>
<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
<coverage lines-valid="216" lines-covered="91" line-rate="0.42119999999999996" branches-valid="27" branches-covered="17" branch-rate="0.6296" timestamp="1709635204951" complexity="0" version="0.1">
<coverage lines-valid="216" lines-covered="91" line-rate="0.42119999999999996" branches-valid="27" branches-covered="17" branch-rate="0.6296" timestamp="1709829086955" complexity="0" version="0.1">
<sources>
<source>/home/runner/work/gitlab-badges/gitlab-badges</source>
</sources>
Expand Down
2 changes: 1 addition & 1 deletion develop/coverage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ <h1>All files</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-03-05T10:40:04.956Z
at 2024-03-07T16:31:26.961Z
</div>
<script src="prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion develop/coverage/states.ts.html
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ <h1><a href="index.html">All files</a> states.ts</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-03-05T10:40:04.956Z
at 2024-03-07T16:31:26.961Z
</div>
<script src="prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion develop/coverage/types.ts.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ <h1><a href="index.html">All files</a> types.ts</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-03-05T10:40:04.956Z
at 2024-03-07T16:31:26.961Z
</div>
<script src="prettify.js"></script>
<script>
Expand Down
4 changes: 2 additions & 2 deletions develop/reference/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion develop/reference/modules.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion develop/tests/index.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<!doctype html>
<html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>Mochawesome Report</title><link rel="stylesheet" href="assets/app.css"/></head><body data-raw="{&quot;stats&quot;:{&quot;suites&quot;:3,&quot;tests&quot;:3,&quot;passes&quot;:3,&quot;pending&quot;:0,&quot;failures&quot;:0,&quot;start&quot;:&quot;2024-03-05T10:39:59.668Z&quot;,&quot;end&quot;:&quot;2024-03-05T10:40:00.768Z&quot;,&quot;duration&quot;:1100,&quot;testsRegistered&quot;:3,&quot;passPercent&quot;:100,&quot;pendingPercent&quot;:0,&quot;other&quot;:0,&quot;hasOther&quot;:false,&quot;skipped&quot;:0,&quot;hasSkipped&quot;:false},&quot;results&quot;:[{&quot;uuid&quot;:&quot;7953235c-72b6-42d5-b04f-b7a23ae26fd2&quot;,&quot;title&quot;:&quot;&quot;,&quot;fullFile&quot;:&quot;/home/runner/work/gitlab-badges/gitlab-badges/test/lib/states.ts&quot;,&quot;file&quot;:&quot;/test/lib/states.ts&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[],&quot;suites&quot;:[{&quot;uuid&quot;:&quot;8c4323de-e37c-4af8-a027-aed3485c8726&quot;,&quot;title&quot;:&quot;States&quot;,&quot;fullFile&quot;:&quot;/home/runner/work/gitlab-badges/gitlab-badges/test/lib/states.ts&quot;,&quot;file&quot;:&quot;/test/lib/states.ts&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[],&quot;suites&quot;:[{&quot;uuid&quot;:&quot;d5d94812-f222-45d3-b28c-c2d86270b0fb&quot;,&quot;title&quot;:&quot;constructor()&quot;,&quot;fullFile&quot;:&quot;/home/runner/work/gitlab-badges/gitlab-badges/test/lib/states.ts&quot;,&quot;file&quot;:&quot;/test/lib/states.ts&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[{&quot;title&quot;:&quot;should throw an error with invalid url&quot;,&quot;fullTitle&quot;:&quot;States constructor() should throw an error with invalid url&quot;,&quot;timedOut&quot;:false,&quot;duration&quot;:1,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;fast&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;code&quot;:&quot;assert.throws(() =&gt; {\n new GitLabStateHelper(&#x27;ftp://foo.bar&#x27;, &#x27;****&#x27;);\n}, /Invalid url!/);&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;76827904-756f-4f81-adf3-4cfb9fb5aa4b&quot;,&quot;parentUUID&quot;:&quot;d5d94812-f222-45d3-b28c-c2d86270b0fb&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false},{&quot;title&quot;:&quot;should throw an error without token&quot;,&quot;fullTitle&quot;:&quot;States constructor() should throw an error without token&quot;,&quot;timedOut&quot;:false,&quot;duration&quot;:0,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;fast&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;code&quot;:&quot;assert.throws(() =&gt; {\n new GitLabStateHelper(&#x27;http://localhost&#x27;, &#x27;****&#x27;);\n}, /Invalid token!/);&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;061393a1-cc47-413d-b80d-f38085d48edf&quot;,&quot;parentUUID&quot;:&quot;d5d94812-f222-45d3-b28c-c2d86270b0fb&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[&quot;76827904-756f-4f81-adf3-4cfb9fb5aa4b&quot;,&quot;061393a1-cc47-413d-b80d-f38085d48edf&quot;],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:1,&quot;root&quot;:false,&quot;rootEmpty&quot;:false,&quot;_timeout&quot;:2000},{&quot;uuid&quot;:&quot;4a690d9d-dd3d-4bf9-a049-a2eed9fa3386&quot;,&quot;title&quot;:&quot;getState()&quot;,&quot;fullFile&quot;:&quot;/home/runner/work/gitlab-badges/gitlab-badges/test/lib/states.ts&quot;,&quot;file&quot;:&quot;/test/lib/states.ts&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[{&quot;title&quot;:&quot;should work&quot;,&quot;fullTitle&quot;:&quot;States getState() should work&quot;,&quot;timedOut&quot;:false,&quot;duration&quot;:1095,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;slow&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;code&quot;:&quot;return __awaiter(this, void 0, void 0, function* () {\n const states = yield new GitLabStateHelper();\n const result1 = yield states.getState(projectId, &#x27;develop&#x27;);\n assert.strictEqual(typeof result1.status, &#x27;string&#x27;);\n assert.ok(typeof result1.coverage === &#x27;string&#x27; || result1.coverage === undefined);\n const result2 = yield states.getState(projectId, &#x27;develop&#x27;);\n assert.strictEqual(result2.status, result1.status);\n assert.strictEqual(result2.coverage, result1.coverage);\n});&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;4634b857-0a5e-45a4-b1f8-154b9fcc12a6&quot;,&quot;parentUUID&quot;:&quot;4a690d9d-dd3d-4bf9-a049-a2eed9fa3386&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[&quot;4634b857-0a5e-45a4-b1f8-154b9fcc12a6&quot;],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:1095,&quot;root&quot;:false,&quot;rootEmpty&quot;:false,&quot;_timeout&quot;:30000}],&quot;passes&quot;:[],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:0,&quot;root&quot;:false,&quot;rootEmpty&quot;:false,&quot;_timeout&quot;:2000}],&quot;passes&quot;:[],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:0,&quot;root&quot;:true,&quot;rootEmpty&quot;:true,&quot;_timeout&quot;:2000}],&quot;meta&quot;:{&quot;mocha&quot;:{&quot;version&quot;:&quot;10.3.0&quot;},&quot;mochawesome&quot;:{&quot;options&quot;:{&quot;quiet&quot;:false,&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;saveHtml&quot;:true,&quot;saveJson&quot;:true,&quot;consoleReporter&quot;:&quot;spec&quot;,&quot;useInlineDiffs&quot;:false,&quot;code&quot;:true},&quot;version&quot;:&quot;7.1.3&quot;},&quot;marge&quot;:{&quot;version&quot;:&quot;6.2.0&quot;}}}" data-config="{&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;reportDir&quot;:&quot;mochawesome-report&quot;,&quot;reportTitle&quot;:&quot;gitlab-badges&quot;,&quot;reportPageTitle&quot;:&quot;Mochawesome Report&quot;,&quot;inline&quot;:false,&quot;inlineAssets&quot;:false,&quot;cdn&quot;:false,&quot;charts&quot;:false,&quot;enableCharts&quot;:false,&quot;code&quot;:true,&quot;enableCode&quot;:true,&quot;autoOpen&quot;:false,&quot;overwrite&quot;:true,&quot;timestamp&quot;:false,&quot;ts&quot;:false,&quot;showPassed&quot;:true,&quot;showFailed&quot;:true,&quot;showPending&quot;:true,&quot;showSkipped&quot;:false,&quot;showHooks&quot;:&quot;failed&quot;,&quot;saveJson&quot;:true,&quot;saveHtml&quot;:true,&quot;dev&quot;:false,&quot;assetsDir&quot;:&quot;mochawesome-report/assets&quot;,&quot;jsonFile&quot;:&quot;/home/runner/work/gitlab-badges/gitlab-badges/mochawesome-report/mochawesome.json&quot;,&quot;htmlFile&quot;:&quot;/home/runner/work/gitlab-badges/gitlab-badges/mochawesome-report/mochawesome.html&quot;}"><div id="report"></div><script src="assets/app.js"></script></body></html>
<html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>Mochawesome Report</title><link rel="stylesheet" href="assets/app.css"/></head><body data-raw="{&quot;stats&quot;:{&quot;suites&quot;:3,&quot;tests&quot;:3,&quot;passes&quot;:3,&quot;pending&quot;:0,&quot;failures&quot;:0,&quot;start&quot;:&quot;2024-03-07T16:31:20.452Z&quot;,&quot;end&quot;:&quot;2024-03-07T16:31:22.194Z&quot;,&quot;duration&quot;:1742,&quot;testsRegistered&quot;:3,&quot;passPercent&quot;:100,&quot;pendingPercent&quot;:0,&quot;other&quot;:0,&quot;hasOther&quot;:false,&quot;skipped&quot;:0,&quot;hasSkipped&quot;:false},&quot;results&quot;:[{&quot;uuid&quot;:&quot;b787a733-f073-4fdb-8d6c-ddacf0a23d8d&quot;,&quot;title&quot;:&quot;&quot;,&quot;fullFile&quot;:&quot;/home/runner/work/gitlab-badges/gitlab-badges/test/lib/states.ts&quot;,&quot;file&quot;:&quot;/test/lib/states.ts&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[],&quot;suites&quot;:[{&quot;uuid&quot;:&quot;d04018e2-802f-4b61-8034-e8476e526a91&quot;,&quot;title&quot;:&quot;States&quot;,&quot;fullFile&quot;:&quot;/home/runner/work/gitlab-badges/gitlab-badges/test/lib/states.ts&quot;,&quot;file&quot;:&quot;/test/lib/states.ts&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[],&quot;suites&quot;:[{&quot;uuid&quot;:&quot;6eb46cd0-a8b4-41be-9a39-43e10115a463&quot;,&quot;title&quot;:&quot;constructor()&quot;,&quot;fullFile&quot;:&quot;/home/runner/work/gitlab-badges/gitlab-badges/test/lib/states.ts&quot;,&quot;file&quot;:&quot;/test/lib/states.ts&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[{&quot;title&quot;:&quot;should throw an error with invalid url&quot;,&quot;fullTitle&quot;:&quot;States constructor() should throw an error with invalid url&quot;,&quot;timedOut&quot;:false,&quot;duration&quot;:0,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;fast&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;code&quot;:&quot;assert.throws(() =&gt; {\n new GitLabStateHelper(&#x27;ftp://foo.bar&#x27;, &#x27;****&#x27;);\n}, /Invalid url!/);&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;9e35df7b-3bff-4c56-844f-2efd3426123b&quot;,&quot;parentUUID&quot;:&quot;6eb46cd0-a8b4-41be-9a39-43e10115a463&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false},{&quot;title&quot;:&quot;should throw an error without token&quot;,&quot;fullTitle&quot;:&quot;States constructor() should throw an error without token&quot;,&quot;timedOut&quot;:false,&quot;duration&quot;:0,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;fast&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;code&quot;:&quot;assert.throws(() =&gt; {\n new GitLabStateHelper(&#x27;http://localhost&#x27;, &#x27;****&#x27;);\n}, /Invalid token!/);&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;725aca1a-d6ef-401c-aaeb-cf67c1b04ccb&quot;,&quot;parentUUID&quot;:&quot;6eb46cd0-a8b4-41be-9a39-43e10115a463&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[&quot;9e35df7b-3bff-4c56-844f-2efd3426123b&quot;,&quot;725aca1a-d6ef-401c-aaeb-cf67c1b04ccb&quot;],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:0,&quot;root&quot;:false,&quot;rootEmpty&quot;:false,&quot;_timeout&quot;:2000},{&quot;uuid&quot;:&quot;7b960257-ab45-4224-b2b1-eaa0c4307a2d&quot;,&quot;title&quot;:&quot;getState()&quot;,&quot;fullFile&quot;:&quot;/home/runner/work/gitlab-badges/gitlab-badges/test/lib/states.ts&quot;,&quot;file&quot;:&quot;/test/lib/states.ts&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[{&quot;title&quot;:&quot;should work&quot;,&quot;fullTitle&quot;:&quot;States getState() should work&quot;,&quot;timedOut&quot;:false,&quot;duration&quot;:1739,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;slow&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;code&quot;:&quot;return __awaiter(this, void 0, void 0, function* () {\n const states = yield new GitLabStateHelper();\n const result1 = yield states.getState(projectId, &#x27;develop&#x27;);\n assert.strictEqual(typeof result1.status, &#x27;string&#x27;);\n assert.ok(typeof result1.coverage === &#x27;string&#x27; || result1.coverage === undefined);\n const result2 = yield states.getState(projectId, &#x27;develop&#x27;);\n assert.strictEqual(result2.status, result1.status);\n assert.strictEqual(result2.coverage, result1.coverage);\n});&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;54ed378c-498e-47f7-8b97-d7a615dd6b72&quot;,&quot;parentUUID&quot;:&quot;7b960257-ab45-4224-b2b1-eaa0c4307a2d&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[&quot;54ed378c-498e-47f7-8b97-d7a615dd6b72&quot;],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:1739,&quot;root&quot;:false,&quot;rootEmpty&quot;:false,&quot;_timeout&quot;:30000}],&quot;passes&quot;:[],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:0,&quot;root&quot;:false,&quot;rootEmpty&quot;:false,&quot;_timeout&quot;:2000}],&quot;passes&quot;:[],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:0,&quot;root&quot;:true,&quot;rootEmpty&quot;:true,&quot;_timeout&quot;:2000}],&quot;meta&quot;:{&quot;mocha&quot;:{&quot;version&quot;:&quot;10.3.0&quot;},&quot;mochawesome&quot;:{&quot;options&quot;:{&quot;quiet&quot;:false,&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;saveHtml&quot;:true,&quot;saveJson&quot;:true,&quot;consoleReporter&quot;:&quot;spec&quot;,&quot;useInlineDiffs&quot;:false,&quot;code&quot;:true},&quot;version&quot;:&quot;7.1.3&quot;},&quot;marge&quot;:{&quot;version&quot;:&quot;6.2.0&quot;}}}" data-config="{&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;reportDir&quot;:&quot;mochawesome-report&quot;,&quot;reportTitle&quot;:&quot;gitlab-badges&quot;,&quot;reportPageTitle&quot;:&quot;Mochawesome Report&quot;,&quot;inline&quot;:false,&quot;inlineAssets&quot;:false,&quot;cdn&quot;:false,&quot;charts&quot;:false,&quot;enableCharts&quot;:false,&quot;code&quot;:true,&quot;enableCode&quot;:true,&quot;autoOpen&quot;:false,&quot;overwrite&quot;:true,&quot;timestamp&quot;:false,&quot;ts&quot;:false,&quot;showPassed&quot;:true,&quot;showFailed&quot;:true,&quot;showPending&quot;:true,&quot;showSkipped&quot;:false,&quot;showHooks&quot;:&quot;failed&quot;,&quot;saveJson&quot;:true,&quot;saveHtml&quot;:true,&quot;dev&quot;:false,&quot;assetsDir&quot;:&quot;mochawesome-report/assets&quot;,&quot;jsonFile&quot;:&quot;/home/runner/work/gitlab-badges/gitlab-badges/mochawesome-report/mochawesome.json&quot;,&quot;htmlFile&quot;:&quot;/home/runner/work/gitlab-badges/gitlab-badges/mochawesome-report/mochawesome.html&quot;}"><div id="report"></div><script src="assets/app.js"></script></body></html>
Loading

0 comments on commit f2fa338

Please sign in to comment.