-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(sandbox): refactor auth ms basic example
refactor auth ms basic example g
- Loading branch information
1 parent
f4e9690
commit c8d5a7c
Showing
82 changed files
with
484 additions
and
249 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
sandbox/auth-basic-login-signup-example/src/providers/index.ts
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
|
@@ -2,4 +2,5 @@ node_modules/ | |
dist/ | ||
coverage/ | ||
.eslintrc.js | ||
mochawesome-report | ||
mochawesome-report | ||
migrations/ |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added
BIN
+56.3 KB
sandbox/auth-ms-basic-example/mochawesome-report/assets/MaterialIcons-Regular.woff
Binary file not shown.
Binary file added
BIN
+43.3 KB
sandbox/auth-ms-basic-example/mochawesome-report/assets/MaterialIcons-Regular.woff2
Binary file not shown.
14 changes: 14 additions & 0 deletions
14
sandbox/auth-ms-basic-example/mochawesome-report/assets/app.css
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
sandbox/auth-ms-basic-example/mochawesome-report/assets/app.js
Large diffs are not rendered by default.
Oops, something went wrong.
55 changes: 55 additions & 0 deletions
55
sandbox/auth-ms-basic-example/mochawesome-report/assets/app.js.LICENSE.txt
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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* | ||
object-assign | ||
(c) Sindre Sorhus | ||
@license MIT | ||
*/ | ||
|
||
/*! | ||
Copyright (c) 2017 Jed Watson. | ||
Licensed under the MIT License (MIT), see | ||
http://jedwatson.github.io/classnames | ||
*/ | ||
|
||
/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of the | ||
License at http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
MERCHANTABLITY OR NON-INFRINGEMENT. | ||
|
||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
***************************************************************************** */ | ||
|
||
/*! mochawesome-report-generator 6.2.0 | https://github.com/adamgruber/mochawesome-report-generator */ | ||
|
||
/** @license React v0.19.1 | ||
* scheduler.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
/** @license React v16.13.1 | ||
* react-dom.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
/** @license React v16.13.1 | ||
* react.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ |
Binary file added
BIN
+25.2 KB
sandbox/auth-ms-basic-example/mochawesome-report/assets/roboto-light-webfont.woff
Binary file not shown.
Binary file added
BIN
+19.1 KB
sandbox/auth-ms-basic-example/mochawesome-report/assets/roboto-light-webfont.woff2
Binary file not shown.
Binary file added
BIN
+25.7 KB
sandbox/auth-ms-basic-example/mochawesome-report/assets/roboto-medium-webfont.woff
Binary file not shown.
Binary file added
BIN
+19.5 KB
sandbox/auth-ms-basic-example/mochawesome-report/assets/roboto-medium-webfont.woff2
Binary file not shown.
Binary file added
BIN
+25.7 KB
sandbox/auth-ms-basic-example/mochawesome-report/assets/roboto-regular-webfont.woff
Binary file not shown.
Binary file added
BIN
+19.4 KB
sandbox/auth-ms-basic-example/mochawesome-report/assets/roboto-regular-webfont.woff2
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
sandbox/auth-ms-basic-example/mochawesome-report/mochawesome.html
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 |
---|---|---|
@@ -0,0 +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":2,"tests":3,"passes":3,"pending":0,"failures":0,"start":"2025-01-28T16:15:58.529Z","end":"2025-01-28T16:15:58.860Z","duration":331,"testsRegistered":3,"passPercent":100,"pendingPercent":0,"other":0,"hasOther":false,"skipped":0,"hasSkipped":false},"results":[{"uuid":"4310987d-52a2-4c3b-b315-33799d8cb954","title":"","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"4a2d4874-8175-42f6-b513-d5aa2e00a091","title":"HomePage","fullFile":"/home/sunny.tyagi/Desktop/loopback4-microservice-catalog/sandbox/auth-ms-basic-example/dist/__tests__/acceptance/home-page.acceptance.js","file":"/dist/__tests__/acceptance/home-page.acceptance.js","beforeHooks":[{"title":"\"before all\" hook: setupApplication in \"HomePage\"","fullTitle":"HomePage \"before all\" hook: setupApplication in \"HomePage\"","timedOut":false,"duration":209,"pass":false,"fail":false,"pending":false,"code":"({ app, client } = await (0, test_helper_1.setupApplication)());","err":{},"uuid":"8d2d3beb-b725-4f0f-885d-a013367d3525","parentUUID":"4a2d4874-8175-42f6-b513-d5aa2e00a091","isHook":true,"skipped":false}],"afterHooks":[{"title":"\"after all\" hook in \"HomePage\"","fullTitle":"HomePage \"after all\" hook in \"HomePage\"","timedOut":false,"duration":1,"pass":false,"fail":false,"pending":false,"code":"await app.stop();","err":{},"uuid":"51d322f5-0bfc-42f9-a9b6-625bda6d3d27","parentUUID":"4a2d4874-8175-42f6-b513-d5aa2e00a091","isHook":true,"skipped":false}],"tests":[{"title":"exposes a default home page","fullTitle":"HomePage exposes a default home page","timedOut":false,"duration":49,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"code":"await client\n .get('/')\n .expect(200)\n .expect('Content-Type', /text\\/html/);","err":{},"uuid":"818c03f0-c547-453a-a8af-d73067c21422","parentUUID":"4a2d4874-8175-42f6-b513-d5aa2e00a091","isHook":false,"skipped":false},{"title":"exposes self-hosted explorer","fullTitle":"HomePage exposes self-hosted explorer","timedOut":false,"duration":12,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"code":"await client\n .get('/explorer/')\n .expect(200)\n .expect('Content-Type', /text\\/html/)\n .expect(/<title>LoopBack API Explorer/);","err":{},"uuid":"9d0fac57-11cf-462e-9ba3-62e64c1568a3","parentUUID":"4a2d4874-8175-42f6-b513-d5aa2e00a091","isHook":false,"skipped":false}],"suites":[],"passes":["818c03f0-c547-453a-a8af-d73067c21422","9d0fac57-11cf-462e-9ba3-62e64c1568a3"],"failures":[],"pending":[],"skipped":[],"duration":61,"root":false,"rootEmpty":false,"_timeout":2000},{"uuid":"e6264d9d-4cb4-4f30-8f42-3e82446e732a","title":"PingController","fullFile":"/home/sunny.tyagi/Desktop/loopback4-microservice-catalog/sandbox/auth-ms-basic-example/dist/__tests__/acceptance/ping.controller.acceptance.js","file":"/dist/__tests__/acceptance/ping.controller.acceptance.js","beforeHooks":[{"title":"\"before all\" hook: setupApplication in \"PingController\"","fullTitle":"PingController \"before all\" hook: setupApplication in \"PingController\"","timedOut":false,"duration":34,"pass":false,"fail":false,"pending":false,"code":"({ app, client } = await (0, test_helper_1.setupApplication)());","err":{},"uuid":"33bcffa2-0b35-4997-954b-5d2a5d7b1409","parentUUID":"e6264d9d-4cb4-4f30-8f42-3e82446e732a","isHook":true,"skipped":false}],"afterHooks":[{"title":"\"after all\" hook in \"PingController\"","fullTitle":"PingController \"after all\" hook in \"PingController\"","timedOut":false,"duration":1,"pass":false,"fail":false,"pending":false,"code":"await app.stop();","err":{},"uuid":"27ec5e4d-ff7c-4d37-986a-5d6ea8e8b88d","parentUUID":"e6264d9d-4cb4-4f30-8f42-3e82446e732a","isHook":true,"skipped":false}],"tests":[{"title":"invokes GET /ping","fullTitle":"PingController invokes GET /ping","timedOut":false,"duration":14,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"code":"const res = await client.get('/ping?msg=world').expect(200);\n(0, testlab_1.expect)(res.body).to.containEql({ greeting: 'Hello from LoopBack' });","err":{},"uuid":"51fb9cdc-b8e8-4dec-b1a9-f00769de4ee7","parentUUID":"e6264d9d-4cb4-4f30-8f42-3e82446e732a","isHook":false,"skipped":false}],"suites":[],"passes":["51fb9cdc-b8e8-4dec-b1a9-f00769de4ee7"],"failures":[],"pending":[],"skipped":[],"duration":14,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000}],"meta":{"mocha":{"version":"11.1.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":"auth-ms-basic-example","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/sunny.tyagi/Desktop/loopback4-microservice-catalog/sandbox/auth-ms-basic-example/mochawesome-report/mochawesome.json","htmlFile":"/home/sunny.tyagi/Desktop/loopback4-microservice-catalog/sandbox/auth-ms-basic-example/mochawesome-report/mochawesome.html"}"><div id="report"></div><script src="assets/app.js"></script></body></html> |
Oops, something went wrong.