Merge pull request #94 from jd-apprentice/alert-autofix-129 #33
Annotations
10 errors
|
error: expect(received).toEqual(expected):
__tests__/app/__tests__/main.test.ts#L27
{
+ message: "Allo! Catch-all route.",
- message: "Welcome to the Waifuland API",
}
- Expected - 1
+ Received + 1
at <anonymous> (/home/runner/work/waifuland-api/waifuland-api/__tests__/app/__tests__/main.test.ts:27:39)
|
|
TypeError: undefined is not a function (near '...item of response.body...'):
__tests__/tag/__tests__/tags.test.ts#L40
at <anonymous> (/home/runner/work/waifuland-api/waifuland-api/__tests__/tag/__tests__/tags.test.ts:40:28)
|
|
error: expect(received).toMatchObject(expected):
__tests__/tag/__tests__/tags.test.ts#L52
{
+ message: "Allo! Catch-all route.",
- _id: Any<String>,
- createdAt: Any<String>,
- description: Any<String>,
- is_active: Any<Boolean>,
- is_nsfw: Any<Boolean>,
- name: Any<String>,
- tag_id: Any<Number>,
- updatedAt: Any<String>,
}
- Expected - 8
+ Received + 1
at <anonymous> (/home/runner/work/waifuland-api/waifuland-api/__tests__/tag/__tests__/tags.test.ts:52:39)
|
|
error: expected 401 "Unauthorized":
node_modules/supertest/lib/test.js#L252
at /home/runner/work/waifuland-api/waifuland-api/node_modules/supertest/lib/test.js:252:18
|
|
TypeError: undefined is not a function (near '...item of response.body...'):
__tests__/user/__tests__/users.test.ts#L63
at <anonymous> (/home/runner/work/waifuland-api/waifuland-api/__tests__/user/__tests__/users.test.ts:63:20)
|
|
error: expect(received).toMatchObject(expected):
__tests__/image/__tests__/integration/images.test.ts#L122
{
+ message: "Allo! Catch-all route.",
- id: Any<String>,
- is_nsfw: Any<Boolean>,
- tag: {
- createdAt: Any<String>,
- description: Any<String>,
- is_active: Any<Boolean>,
- is_nsfw: Any<Boolean>,
- name: Any<String>,
- tag_id: Any<Number>,
- updatedAt: Any<String>,
- },
- url: Any<String>,
}
- Expected - 12
+ Received + 1
at expectImage (/home/runner/work/waifuland-api/waifuland-api/__tests__/image/__tests__/integration/images.test.ts:122:25)
|
|
error: expect(received).toBeInstanceOf(expected):
__tests__/image/__tests__/integration/images.test.ts#L54
Expected constructor: [class Array]
Received value: {
message: "Allo! Catch-all route.",
}
at <anonymous> (/home/runner/work/waifuland-api/waifuland-api/__tests__/image/__tests__/integration/images.test.ts:54:31)
|
|
error: expect(received).toBeInstanceOf(expected):
__tests__/image/__tests__/integration/images.test.ts#L72
Expected constructor: [class Array]
Received value: {
message: "Allo! Catch-all route.",
}
at <anonymous> (/home/runner/work/waifuland-api/waifuland-api/__tests__/image/__tests__/integration/images.test.ts:72:31)
|
|
error: expect(received).toBeInstanceOf(expected):
__tests__/image/__tests__/integration/images.test.ts#L89
Expected constructor: [class Array]
Received value: {
message: "Allo! Catch-all route.",
}
at <anonymous> (/home/runner/work/waifuland-api/waifuland-api/__tests__/image/__tests__/integration/images.test.ts:89:31)
|
|
error: expect(received).toBeInstanceOf(expected):
__tests__/image/__tests__/integration/images.test.ts#L106
Expected constructor: [class Array]
Received value: {
message: "Allo! Catch-all route.",
}
at <anonymous> (/home/runner/work/waifuland-api/waifuland-api/__tests__/image/__tests__/integration/images.test.ts:106:31)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
gitleaks-results.sarif
Expired
|
4.55 KB |
sha256:2ac8c2a962a7711871b5dcae724e3469ba9c55e79ec1a88539e69c520947892c
|
|