165 lines
7.0 KiB
Plaintext
165 lines
7.0 KiB
Plaintext
npm notice run backend@0.0.1 test
|
||
npm notice run jest --runInBand
|
||
FAIL src/wiki/wiki.service.spec.ts
|
||
● WikiService › findAll › should paginate and filter terms with fallback to default sortBy
|
||
|
||
expect(jest.fn()).toHaveBeenCalledWith(...expected)
|
||
|
||
- Expected
|
||
+ Received
|
||
|
||
@@ -1,21 +1,39 @@
|
||
Object {
|
||
"orderBy": Object {
|
||
"term": "desc",
|
||
},
|
||
- "skip": 0,
|
||
- "take": 10,
|
||
+ "skip": undefined,
|
||
+ "take": 100,
|
||
"where": Object {
|
||
"OR": Array [
|
||
Object {
|
||
"term": Object {
|
||
"contains": "مفصل",
|
||
"mode": "insensitive",
|
||
},
|
||
},
|
||
Object {
|
||
+ "key": Object {
|
||
+ "contains": "مفصل",
|
||
+ "mode": "insensitive",
|
||
+ },
|
||
+ },
|
||
+ Object {
|
||
"definition": Object {
|
||
+ "contains": "مفصل",
|
||
+ "mode": "insensitive",
|
||
+ },
|
||
+ },
|
||
+ Object {
|
||
+ "term": Object {
|
||
+ "contains": "مفصل",
|
||
+ "mode": "insensitive",
|
||
+ },
|
||
+ },
|
||
+ Object {
|
||
+ "key": Object {
|
||
"contains": "مفصل",
|
||
"mode": "insensitive",
|
||
},
|
||
},
|
||
],,
|
||
|
||
Number of calls: 1
|
||
|
||
56 | });
|
||
57 |
|
||
> 58 | expect(mockPrisma.scientificTerm.findMany).toHaveBeenCalledWith({
|
||
| ^
|
||
59 | where: {
|
||
60 | OR: [
|
||
61 | { term: { contains: "مفصل", mode: "insensitive" } },
|
||
|
||
at Object.<anonymous> (wiki/wiki.service.spec.ts:58:50)
|
||
|
||
[Nest] 3581768 - 10/28/2026, 7:18:58 AM ERROR [SslService] Failed to parse SSL certificate
|
||
[Nest] 3581768 - 10/28/2026, 7:18:58 AM ERROR [SslService] Error: error:0480006C:PEM routines::no start line
|
||
at new X509Certificate (node:internal/crypto/x509:121:21)
|
||
at SslService.getStatus (/opt/data/content-maintenance/engine/worktree-concurrency-tdd/backend/src/admin/ssl.service.ts:104:20)
|
||
at Object.<anonymous> (/opt/data/content-maintenance/engine/worktree-concurrency-tdd/backend/src/admin/ssl.service.spec.ts:179:30)
|
||
at Promise.finally.completed (/opt/data/content-maintenance/engine/worktree-concurrency-tdd/backend/node_modules/jest-circus/build/jestAdapterInit.js:1561:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/opt/data/content-maintenance/engine/worktree-concurrency-tdd/backend/node_modules/jest-circus/build/jestAdapterInit.js:1501:10)
|
||
at _callCircusTest (/opt/data/content-maintenance/engine/worktree-concurrency-tdd/backend/node_modules/jest-circus/build/jestAdapterInit.js:1011:40)
|
||
at _runTest (/opt/data/content-maintenance/engine/worktree-concurrency-tdd/backend/node_modules/jest-circus/build/jestAdapterInit.js:951:3)
|
||
at /opt/data/content-maintenance/engine/worktree-concurrency-tdd/backend/node_modules/jest-circus/build/jestAdapterInit.js:853:7
|
||
at _runTestsForDescribeBlock (/opt/data/content-maintenance/engine/worktree-concurrency-tdd/backend/node_modules/jest-circus/build/jestAdapterInit.js:866:11)
|
||
at _runTestsForDescribeBlock (/opt/data/content-maintenance/engine/worktree-concurrency-tdd/backend/node_modules/jest-circus/build/jestAdapterInit.js:861:11)
|
||
at _runTestsForDescribeBlock (/opt/data/content-maintenance/engine/worktree-concurrency-tdd/backend/node_modules/jest-circus/build/jestAdapterInit.js:861:11)
|
||
at run (/opt/data/content-maintenance/engine/worktree-concurrency-tdd/backend/node_modules/jest-circus/build/jestAdapterInit.js:765:3)
|
||
at runAndTransformResultsToJestFormat (/opt/data/content-maintenance/engine/worktree-concurrency-tdd/backend/node_modules/jest-circus/build/jestAdapterInit.js:1993:21)
|
||
at jestAdapter (/opt/data/content-maintenance/engine/worktree-concurrency-tdd/backend/node_modules/jest-circus/build/runner.js:111:19)
|
||
at runTestInternal (/opt/data/content-maintenance/engine/worktree-concurrency-tdd/backend/node_modules/jest-runner/build/index.js:276:16)
|
||
at runTest (/opt/data/content-maintenance/engine/worktree-concurrency-tdd/backend/node_modules/jest-runner/build/index.js:344:7) {
|
||
library: 'PEM routines',
|
||
reason: 'no start line',
|
||
code: 'ERR_OSSL_PEM_NO_START_LINE'
|
||
}
|
||
[Nest] 3581768 - 10/28/2026, 7:19:05 AM ERROR [ZibalEBankService] [Zibal EBank API] Error requesting /ebank/v1/account/list/: transport failed
|
||
[Nest] 3581768 - 10/28/2026, 7:19:05 AM ERROR [ZibalEBankService] [Zibal EBank API] Error requesting /ebank/v1/account/list/: transport failed
|
||
[Nest] 3581768 - 10/28/2026, 7:19:20 AM ERROR [ZibalEBankService] [Zibal EBank API] Error requesting /ebank/v1/account/list/: aborted
|
||
[Nest] 3581768 - 10/28/2026, 7:19:05 AM ERROR [ZibalEBankService] [Zibal EBank API] Error requesting /ebank/v1/account/list/: Zibal EBank HTTP 503
|
||
[Nest] 3581768 - 10/28/2026, 7:19:17 AM ERROR [PaymentService] Security Alert: Amount mismatch on trackId=tr-1! Zibal reported 1000000 Rials, but expected 5000000 Rials in DB.
|
||
[Nest] 3581768 - 10/28/2026, 7:19:27 AM WARN [BlogsService] Cache revalidation failed for updated blog [post]: cache down
|
||
|
||
Summary of all failing tests
|
||
FAIL wiki/wiki.service.spec.ts
|
||
● WikiService › findAll › should paginate and filter terms with fallback to default sortBy
|
||
|
||
expect(jest.fn()).toHaveBeenCalledWith(...expected)
|
||
|
||
- Expected
|
||
+ Received
|
||
|
||
@@ -1,21 +1,39 @@
|
||
Object {
|
||
"orderBy": Object {
|
||
"term": "desc",
|
||
},
|
||
- "skip": 0,
|
||
- "take": 10,
|
||
+ "skip": undefined,
|
||
+ "take": 100,
|
||
"where": Object {
|
||
"OR": Array [
|
||
Object {
|
||
"term": Object {
|
||
"contains": "مفصل",
|
||
"mode": "insensitive",
|
||
},
|
||
},
|
||
Object {
|
||
+ "key": Object {
|
||
+ "contains": "مفصل",
|
||
+ "mode": "insensitive",
|
||
+ },
|
||
+ },
|
||
+ Object {
|
||
"definition": Object {
|
||
+ "contains": "مفصل",
|
||
+ "mode": "insensitive",
|
||
+ },
|
||
+ },
|
||
+ Object {
|
||
+ "term": Object {
|
||
+ "contains": "مفصل",
|
||
+ "mode": "insensitive",
|
||
+ },
|
||
+ },
|
||
+ Object {
|
||
+ "key": Object {
|
||
"contains": "مفصل",
|
||
"mode": "insensitive",
|
||
},
|
||
},
|
||
],,
|
||
|
||
Number of calls: 1
|
||
|
||
56 | });
|
||
57 |
|
||
> 58 | expect(mockPrisma.scientificTerm.findMany).toHaveBeenCalledWith({
|
||
| ^
|
||
59 | where: {
|
||
60 | OR: [
|
||
61 | { term: { contains: "مفصل", mode: "insensitive" } },
|
||
|
||
at Object.<anonymous> (wiki/wiki.service.spec.ts:58:50)
|
||
|
||
|
||
Test Suites: 1 failed, 4 skipped, 94 passed, 95 of 99 total
|
||
Tests: 1 failed, 8 skipped, 815 passed, 824 total
|
||
Snapshots: 0 total
|
||
Time: 44.533 s, estimated 47 s
|
||
Ran all test suites. |