fix: missing basic validation in route params #724
Annotations
4 errors and 1 warning
test/routes/token.test.ts#L35
Error: Snapshot ``/token/generate` - without params 1` mismatched
- Expected
+ Received
- "[
- {
- "code": "invalid_type",
- "expected": "object",
- "received": "null",
- "path": [],
- "message": "Expected object, received null"
- }
- ]"
+ "Invalid : Expected object, received null"
❯ test/routes/token.test.ts:35:24
|
test/services/transaction.test.ts#L130
AssertionError: expected 2 to be 1 // Object.is equality
- Expected
+ Received
- 1
+ 2
❯ test/services/transaction.test.ts:130:27
|
test/routes/rgbpp/transaction.test.ts#L153
AssertionError: expected 500 to be 400 // Object.is equality
- Expected
+ Received
- 400
+ 500
❯ test/routes/rgbpp/transaction.test.ts:153:33
|
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading