unleash
unleash copied to clipboard
Added login endpoint rate limit
Added login endpoint rate limit. Login can be called 5 times every minute.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated |
|---|---|---|---|
| unleash | ✅ Ready (Inspect) | Visit Preview | Sep 25, 2022 at 6:08PM (UTC) |
| unleash-docs | ✅ Ready (Inspect) | Visit Preview | Sep 25, 2022 at 6:08PM (UTC) |
| unleash-monorepo-frontend | ✅ Ready (Inspect) | Visit Preview | Sep 25, 2022 at 6:08PM (UTC) |
Coverage report
❌ An unexpected error occurred. For more details, check console
Error: The process '/usr/local/bin/yarn' failed with exit code 1
St.:grey_question: |
Category | Percentage | Covered / Total |
|---|---|---|---|
| 🟢 | Statements | 88.38% (-3% 🔻) |
7070/8000 |
| 🟡 | Branches | 78.77% (-0.78% 🔻) |
1102/1399 |
| 🟢 | Functions | 81.95% (-4.27% 🔻) |
1989/2427 |
| 🟢 | Lines | 88.68% (-2.63% 🔻) |
6555/7392 |
:warning: Details were not displayed: the report size has exceeded the limit.
Test suite run failed
Failed tests: 1/1165. Failed suites: 1/192.
● should serve the OpenAPI spec
expect(received).toMatchSnapshot()
Snapshot name: `should serve the OpenAPI spec 1`
- Snapshot - 5
+ Received + 1
@@ -623,15 +623,11 @@
},
"secret": {
"type": "string",
},
"type": {
- "enum": [
- "client",
- "admin",
- "frontend",
- ],
+ "description": "One of client, admin, frontend",
"type": "string",
},
"username": {
"type": "string",
},
40 | // This test will fail whenever there's a change to the API spec.
41 | // If the change is intended, update the snapshot with `jest -u`.
> 42 | expect(res.body).toMatchSnapshot();
| ^
43 | });
44 | });
45 |
at toMatchSnapshot (src/test/e2e/api/openapi/openapi.e2e.test.ts:42:30)
at node_modules/supertest/lib/test.js:306:17
at Test._assertFunction (node_modules/supertest/lib/test.js:285:13)
at Test.assert (node_modules/supertest/lib/test.js:164:23)
at Server.localAssert (node_modules/supertest/lib/test.js:120:14)
Report generated by 🧪jest coverage report action from 5aae4b5660953fb04a1d56e822cc48d1ec91427b