build(deps): Upgrade ts-jest to v29.2.5 #4800
Test suite run failed
Failed tests: 5/331. Failed suites: 2/27.
Details
Created failed tests' annotations. To disable them, see documentation.
● Audible Author HTML › When scraping Andy Weir from Audible › returned the correct genres
expect(received).toEqual(expected) // deep equality
- Expected - 17
+ Received + 1
- Array [
- Object {
- "asin": "18580606011",
- "name": "Science Fiction & Fantasy",
- "type": "genre",
- },
- Object {
- "asin": "18574597011",
- "name": "Mystery, Thriller & Suspense",
- "type": "genre",
- },
- Object {
- "asin": "18574426011",
- "name": "Literature & Fiction",
- "type": "genre",
- },
- ]
+ Array []
27 |
28 | it('returned the correct genres', () => {
> 29 | expect(response.genres).toEqual(authorParsedB00G0WYW92.genres)
| ^
30 | })
31 |
32 | it('returned the correct image', () => {
at Object.<anonymous> (tests/audible/authors/scrape.test.ts:29:28)
● Audible Author HTML › When scraping an author with no description or image from Audible › returned the correct genres
expect(received).toEqual(expected) // deep equality
- Expected - 12
+ Received + 1
- Array [
- Object {
- "asin": "18571951011",
- "name": "Biographies & Memoirs",
- "type": "genre",
- },
- Object {
- "asin": "18571910011",
- "name": "Arts & Entertainment",
- "type": "genre",
- },
- ]
+ Array []
63 |
64 | it('returned the correct genres', () => {
> 65 | expect(response.genres).toEqual(authorParsedB0034NFIOI.genres)
| ^
66 | })
67 |
68 | it('returned no image', () => {
at Object.<anonymous> (tests/audible/authors/scrape.test.ts:65:28)
● Audible HTML › When scraping Project Hail Mary genres › returned the correct data
Parsed is undefined
20 | const fetched = await helper.fetchBook()
21 | const parsed = await helper.parseResponse(fetched)
> 22 | if (!parsed) throw new Error('Parsed is undefined')
| ^
23 | response = parsed
24 | }, 10000)
25 |
at tests/audible/books/scrape.test.ts:22:23
at fulfilled (tests/audible/books/scrape.test.ts:5:58)
● Audible HTML › When scraping Scorcerers Stone genres/series › returned the correct data
Parsed is undefined
36 | const fetched = await helper.fetchBook()
37 | const parsed = await helper.parseResponse(fetched)
> 38 | if (!parsed) throw new Error('Parsed is undefined')
| ^
39 | response = parsed
40 | }, 10000)
41 |
at tests/audible/books/scrape.test.ts:38:23
at fulfilled (tests/audible/books/scrape.test.ts:5:58)
● Audible HTML › When fetching The Coldest Case HTML › returned the correct data
Parsed is undefined
53 | const fetched = await helper.fetchBook()
54 | const parsed = await helper.parseResponse(fetched)
> 55 | if (!parsed) throw new Error('Parsed is undefined')
| ^
56 | response = parsed
57 | }, 10000)
58 |
at tests/audible/books/scrape.test.ts:55:23
at fulfilled (tests/audible/books/scrape.test.ts:5:58)
Annotations
Check failure on line 28 in tests/audible/authors/scrape.test.ts
github-actions / Tests annotations (🧪 jest-coverage-report-action)
Audible Author HTML > When scraping Andy Weir from Audible > returned the correct genres
Error: expect(received).toEqual(expected) // deep equality
- Expected - 17
+ Received + 1
- Array [
- Object {
- "asin": "18580606011",
- "name": "Science Fiction & Fantasy",
- "type": "genre",
- },
- Object {
- "asin": "18574597011",
- "name": "Mystery, Thriller & Suspense",
- "type": "genre",
- },
- Object {
- "asin": "18574426011",
- "name": "Literature & Fiction",
- "type": "genre",
- },
- ]
+ Array []
at Object.<anonymous> (/home/runner/work/audnexus/audnexus/tests/audible/authors/scrape.test.ts:29:28)
at Promise.then.completed (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-runner/build/testWorker.js:106:12)
Check failure on line 64 in tests/audible/authors/scrape.test.ts
github-actions / Tests annotations (🧪 jest-coverage-report-action)
Audible Author HTML > When scraping an author with no description or image from Audible > returned the correct genres
Error: expect(received).toEqual(expected) // deep equality
- Expected - 12
+ Received + 1
- Array [
- Object {
- "asin": "18571951011",
- "name": "Biographies & Memoirs",
- "type": "genre",
- },
- Object {
- "asin": "18571910011",
- "name": "Arts & Entertainment",
- "type": "genre",
- },
- ]
+ Array []
at Object.<anonymous> (/home/runner/work/audnexus/audnexus/tests/audible/authors/scrape.test.ts:65:28)
at Promise.then.completed (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/[email protected]/node_modules/jest-runner/build/testWorker.js:106:12)
Check failure on line 26 in tests/audible/books/scrape.test.ts
github-actions / Tests annotations (🧪 jest-coverage-report-action)
Audible HTML > When scraping Project Hail Mary genres > returned the correct data
Error: Parsed is undefined
at /home/runner/work/audnexus/audnexus/tests/audible/books/scrape.test.ts:22:23
at Generator.next (<anonymous>)
at fulfilled (/home/runner/work/audnexus/audnexus/tests/audible/books/scrape.test.ts:5:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 42 in tests/audible/books/scrape.test.ts
github-actions / Tests annotations (🧪 jest-coverage-report-action)
Audible HTML > When scraping Scorcerers Stone genres/series > returned the correct data
Error: Parsed is undefined
at /home/runner/work/audnexus/audnexus/tests/audible/books/scrape.test.ts:38:23
at Generator.next (<anonymous>)
at fulfilled (/home/runner/work/audnexus/audnexus/tests/audible/books/scrape.test.ts:5:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 59 in tests/audible/books/scrape.test.ts
github-actions / Tests annotations (🧪 jest-coverage-report-action)
Audible HTML > When fetching The Coldest Case HTML > returned the correct data
Error: Parsed is undefined
at /home/runner/work/audnexus/audnexus/tests/audible/books/scrape.test.ts:55:23
at Generator.next (<anonymous>)
at fulfilled (/home/runner/work/audnexus/audnexus/tests/audible/books/scrape.test.ts:5:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)