-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5f8257d
commit f2fa338
Showing
9 changed files
with
29 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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="{"stats":{"suites":3,"tests":3,"passes":3,"pending":0,"failures":0,"start":"2024-03-05T10:39:59.668Z","end":"2024-03-05T10:40:00.768Z","duration":1100,"testsRegistered":3,"passPercent":100,"pendingPercent":0,"other":0,"hasOther":false,"skipped":0,"hasSkipped":false},"results":[{"uuid":"7953235c-72b6-42d5-b04f-b7a23ae26fd2","title":"","fullFile":"/home/runner/work/gitlab-badges/gitlab-badges/test/lib/states.ts","file":"/test/lib/states.ts","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8c4323de-e37c-4af8-a027-aed3485c8726","title":"States","fullFile":"/home/runner/work/gitlab-badges/gitlab-badges/test/lib/states.ts","file":"/test/lib/states.ts","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d5d94812-f222-45d3-b28c-c2d86270b0fb","title":"constructor()","fullFile":"/home/runner/work/gitlab-badges/gitlab-badges/test/lib/states.ts","file":"/test/lib/states.ts","beforeHooks":[],"afterHooks":[],"tests":[{"title":"should throw an error with invalid url","fullTitle":"States constructor() should throw an error with invalid url","timedOut":false,"duration":1,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"code":"assert.throws(() => {\n new GitLabStateHelper('ftp://foo.bar', '****');\n}, /Invalid url!/);","err":{},"uuid":"76827904-756f-4f81-adf3-4cfb9fb5aa4b","parentUUID":"d5d94812-f222-45d3-b28c-c2d86270b0fb","isHook":false,"skipped":false},{"title":"should throw an error without token","fullTitle":"States constructor() should throw an error without token","timedOut":false,"duration":0,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"code":"assert.throws(() => {\n new GitLabStateHelper('http://localhost', '****');\n}, /Invalid token!/);","err":{},"uuid":"061393a1-cc47-413d-b80d-f38085d48edf","parentUUID":"d5d94812-f222-45d3-b28c-c2d86270b0fb","isHook":false,"skipped":false}],"suites":[],"passes":["76827904-756f-4f81-adf3-4cfb9fb5aa4b","061393a1-cc47-413d-b80d-f38085d48edf"],"failures":[],"pending":[],"skipped":[],"duration":1,"root":false,"rootEmpty":false,"_timeout":2000},{"uuid":"4a690d9d-dd3d-4bf9-a049-a2eed9fa3386","title":"getState()","fullFile":"/home/runner/work/gitlab-badges/gitlab-badges/test/lib/states.ts","file":"/test/lib/states.ts","beforeHooks":[],"afterHooks":[],"tests":[{"title":"should work","fullTitle":"States getState() should work","timedOut":false,"duration":1095,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"code":"return __awaiter(this, void 0, void 0, function* () {\n const states = yield new GitLabStateHelper();\n const result1 = yield states.getState(projectId, 'develop');\n assert.strictEqual(typeof result1.status, 'string');\n assert.ok(typeof result1.coverage === 'string' || result1.coverage === undefined);\n const result2 = yield states.getState(projectId, 'develop');\n assert.strictEqual(result2.status, result1.status);\n assert.strictEqual(result2.coverage, result1.coverage);\n});","err":{},"uuid":"4634b857-0a5e-45a4-b1f8-154b9fcc12a6","parentUUID":"4a690d9d-dd3d-4bf9-a049-a2eed9fa3386","isHook":false,"skipped":false}],"suites":[],"passes":["4634b857-0a5e-45a4-b1f8-154b9fcc12a6"],"failures":[],"pending":[],"skipped":[],"duration":1095,"root":false,"rootEmpty":false,"_timeout":30000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000}],"meta":{"mocha":{"version":"10.3.0"},"mochawesome":{"options":{"quiet":false,"reportFilename":"mochawesome","saveHtml":true,"saveJson":true,"consoleReporter":"spec","useInlineDiffs":false,"code":true},"version":"7.1.3"},"marge":{"version":"6.2.0"}}}" data-config="{"reportFilename":"mochawesome","reportDir":"mochawesome-report","reportTitle":"gitlab-badges","reportPageTitle":"Mochawesome Report","inline":false,"inlineAssets":false,"cdn":false,"charts":false,"enableCharts":false,"code":true,"enableCode":true,"autoOpen":false,"overwrite":true,"timestamp":false,"ts":false,"showPassed":true,"showFailed":true,"showPending":true,"showSkipped":false,"showHooks":"failed","saveJson":true,"saveHtml":true,"dev":false,"assetsDir":"mochawesome-report/assets","jsonFile":"/home/runner/work/gitlab-badges/gitlab-badges/mochawesome-report/mochawesome.json","htmlFile":"/home/runner/work/gitlab-badges/gitlab-badges/mochawesome-report/mochawesome.html"}"><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="{"stats":{"suites":3,"tests":3,"passes":3,"pending":0,"failures":0,"start":"2024-03-07T16:31:20.452Z","end":"2024-03-07T16:31:22.194Z","duration":1742,"testsRegistered":3,"passPercent":100,"pendingPercent":0,"other":0,"hasOther":false,"skipped":0,"hasSkipped":false},"results":[{"uuid":"b787a733-f073-4fdb-8d6c-ddacf0a23d8d","title":"","fullFile":"/home/runner/work/gitlab-badges/gitlab-badges/test/lib/states.ts","file":"/test/lib/states.ts","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d04018e2-802f-4b61-8034-e8476e526a91","title":"States","fullFile":"/home/runner/work/gitlab-badges/gitlab-badges/test/lib/states.ts","file":"/test/lib/states.ts","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"6eb46cd0-a8b4-41be-9a39-43e10115a463","title":"constructor()","fullFile":"/home/runner/work/gitlab-badges/gitlab-badges/test/lib/states.ts","file":"/test/lib/states.ts","beforeHooks":[],"afterHooks":[],"tests":[{"title":"should throw an error with invalid url","fullTitle":"States constructor() should throw an error with invalid url","timedOut":false,"duration":0,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"code":"assert.throws(() => {\n new GitLabStateHelper('ftp://foo.bar', '****');\n}, /Invalid url!/);","err":{},"uuid":"9e35df7b-3bff-4c56-844f-2efd3426123b","parentUUID":"6eb46cd0-a8b4-41be-9a39-43e10115a463","isHook":false,"skipped":false},{"title":"should throw an error without token","fullTitle":"States constructor() should throw an error without token","timedOut":false,"duration":0,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"code":"assert.throws(() => {\n new GitLabStateHelper('http://localhost', '****');\n}, /Invalid token!/);","err":{},"uuid":"725aca1a-d6ef-401c-aaeb-cf67c1b04ccb","parentUUID":"6eb46cd0-a8b4-41be-9a39-43e10115a463","isHook":false,"skipped":false}],"suites":[],"passes":["9e35df7b-3bff-4c56-844f-2efd3426123b","725aca1a-d6ef-401c-aaeb-cf67c1b04ccb"],"failures":[],"pending":[],"skipped":[],"duration":0,"root":false,"rootEmpty":false,"_timeout":2000},{"uuid":"7b960257-ab45-4224-b2b1-eaa0c4307a2d","title":"getState()","fullFile":"/home/runner/work/gitlab-badges/gitlab-badges/test/lib/states.ts","file":"/test/lib/states.ts","beforeHooks":[],"afterHooks":[],"tests":[{"title":"should work","fullTitle":"States getState() should work","timedOut":false,"duration":1739,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"code":"return __awaiter(this, void 0, void 0, function* () {\n const states = yield new GitLabStateHelper();\n const result1 = yield states.getState(projectId, 'develop');\n assert.strictEqual(typeof result1.status, 'string');\n assert.ok(typeof result1.coverage === 'string' || result1.coverage === undefined);\n const result2 = yield states.getState(projectId, 'develop');\n assert.strictEqual(result2.status, result1.status);\n assert.strictEqual(result2.coverage, result1.coverage);\n});","err":{},"uuid":"54ed378c-498e-47f7-8b97-d7a615dd6b72","parentUUID":"7b960257-ab45-4224-b2b1-eaa0c4307a2d","isHook":false,"skipped":false}],"suites":[],"passes":["54ed378c-498e-47f7-8b97-d7a615dd6b72"],"failures":[],"pending":[],"skipped":[],"duration":1739,"root":false,"rootEmpty":false,"_timeout":30000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000}],"meta":{"mocha":{"version":"10.3.0"},"mochawesome":{"options":{"quiet":false,"reportFilename":"mochawesome","saveHtml":true,"saveJson":true,"consoleReporter":"spec","useInlineDiffs":false,"code":true},"version":"7.1.3"},"marge":{"version":"6.2.0"}}}" data-config="{"reportFilename":"mochawesome","reportDir":"mochawesome-report","reportTitle":"gitlab-badges","reportPageTitle":"Mochawesome Report","inline":false,"inlineAssets":false,"cdn":false,"charts":false,"enableCharts":false,"code":true,"enableCode":true,"autoOpen":false,"overwrite":true,"timestamp":false,"ts":false,"showPassed":true,"showFailed":true,"showPending":true,"showSkipped":false,"showHooks":"failed","saveJson":true,"saveHtml":true,"dev":false,"assetsDir":"mochawesome-report/assets","jsonFile":"/home/runner/work/gitlab-badges/gitlab-badges/mochawesome-report/mochawesome.json","htmlFile":"/home/runner/work/gitlab-badges/gitlab-badges/mochawesome-report/mochawesome.html"}"><div id="report"></div><script src="assets/app.js"></script></body></html> |
Oops, something went wrong.