Skip to content

build(deps): Upgrade eslint-plugin-jest to v28.9.0 #4842

build(deps): Upgrade eslint-plugin-jest to v28.9.0

build(deps): Upgrade eslint-plugin-jest to v28.9.0 #4842

Triggered via push November 20, 2024 02:05
Status Failure
Total duration 23s
Artifacts

node.js.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

8 errors
Node lts/* sample
Process completed with exit code 1.
Node current sample
The job was canceled because "lts__" failed.
Node current sample
The operation was canceled.
Audible Author HTML > When scraping Andy Weir from Audible > returned the correct genres: tests/audible/authors/scrape.test.ts#L28
Error: expect(received).toEqual(expected) // deep equality - Expected - 4 + Received + 4 @@ -3,15 +3,15 @@ "asin": "18580606011", "name": "Science Fiction & Fantasy", "type": "genre", }, Object { - "asin": "18574597011", - "name": "Mystery, Thriller & Suspense", + "asin": "18574426011", + "name": "Literature & Fiction", "type": "genre", }, Object { - "asin": "18574426011", - "name": "Literature & Fiction", + "asin": "18574597011", + "name": "Mystery, Thriller & Suspense", "type": "genre", }, ] 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/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/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/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)
Audible Author HTML > When scraping an author with no description or image from Audible > returned the correct genres: tests/audible/authors/scrape.test.ts#L64
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/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/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/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)
Audible HTML > When scraping Project Hail Mary genres > returned the correct data: tests/audible/books/scrape.test.ts#L26
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)
Audible HTML > When scraping Scorcerers Stone genres/series > returned the correct data: tests/audible/books/scrape.test.ts#L42
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)
Audible HTML > When fetching The Coldest Case HTML > returned the correct data: tests/audible/books/scrape.test.ts#L59
Error: expect(received).toEqual(expected) // deep equality - Expected - 5 + Received + 0 @@ -3,12 +3,7 @@ Object { "asin": "18574597011", "name": "Mystery, Thriller & Suspense", "type": "genre", }, - Object { - "asin": "18574623011", - "name": "Crime Thrillers", - "type": "tag", - }, ], } at Object.<anonymous> (/home/runner/work/audnexus/audnexus/tests/audible/books/scrape.test.ts:60:21) at Promise.then.completed (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/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/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/audnexus/audnexus/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)