Skip to content

build(deps): Upgrade @types/node to v20.17.4 #4773

build(deps): Upgrade @types/node to v20.17.4

build(deps): Upgrade @types/node to v20.17.4 #4773

GitHub Actions / Tests annotations (🧪 jest-coverage-report-action) failed Nov 7, 2024 in 0s

Test suite run failed

Failed tests: 4/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  - 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",
        },
      ]

      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 HTML › When scraping Project Hail Mary genres › returned the correct data

    expect(received).toEqual(expected) // deep equality

    - Expected  - 15
    + Received  +  0

    @@ -3,22 +3,7 @@
          Object {
            "asin": "18580606011",
            "name": "Science Fiction & Fantasy",
            "type": "genre",
          },
    -     Object {
    -       "asin": "18580629011",
    -       "name": "Adventure",
    -       "type": "tag",
    -     },
    -     Object {
    -       "asin": "18580639011",
    -       "name": "Hard Science Fiction",
    -       "type": "tag",
    -     },
    -     Object {
    -       "asin": "18580645011",
    -       "name": "Space Opera",
    -       "type": "tag",
    -     },
        ],
      }

      25 |
      26 | 		it('returned the correct data', () => {
    > 27 | 			expect(response).toEqual(parsedB08G9PRS1K)
         | 			                 ^
      28 | 		})
      29 | 	})
      30 |

      at Object.<anonymous> (tests/audible/books/scrape.test.ts:27:21)

  ● Audible HTML › When scraping Scorcerers Stone genres/series › returned the correct data

    expect(received).toEqual(expected) // deep equality

    - Expected  - 5
    + Received  + 0

    @@ -3,12 +3,7 @@
          Object {
            "asin": "18572091011",
            "name": "Children's Audiobooks",
            "type": "genre",
          },
    -     Object {
    -       "asin": "18572588011",
    -       "name": "Action & Adventure",
    -       "type": "tag",
    -     },
        ],
      }

      41 |
      42 | 		it('returned the correct data', () => {
    > 43 | 			expect(response).toEqual(parsedB017V4IM1G)
         | 			                 ^
      44 | 		})
      45 | 	})
      46 |

      at Object.<anonymous> (tests/audible/books/scrape.test.ts:43:21)

  ● Audible HTML › When fetching The Coldest Case HTML › returned the correct data

    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",
    -     },
        ],
      }

      58 |
      59 | 		it('returned the correct data', () => {
    > 60 | 			expect(response).toEqual(parsedB08C6YJ1LS)
         | 			                 ^
      61 | 		})
      62 | 	})
      63 |

      at Object.<anonymous> (tests/audible/books/scrape.test.ts:60:21)

Annotations

Check failure on line 28 in tests/audible/authors/scrape.test.ts

See this annotation in the file changed.

@github-actions 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  - 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)

Check failure on line 26 in tests/audible/books/scrape.test.ts

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

Audible HTML > When scraping Project Hail Mary genres > returned the correct data

Error: expect(received).toEqual(expected) // deep equality

- Expected  - 15
+ Received  +  0

@@ -3,22 +3,7 @@
      Object {
        "asin": "18580606011",
        "name": "Science Fiction & Fantasy",
        "type": "genre",
      },
-     Object {
-       "asin": "18580629011",
-       "name": "Adventure",
-       "type": "tag",
-     },
-     Object {
-       "asin": "18580639011",
-       "name": "Hard Science Fiction",
-       "type": "tag",
-     },
-     Object {
-       "asin": "18580645011",
-       "name": "Space Opera",
-       "type": "tag",
-     },
    ],
  }
    at Object.<anonymous> (/home/runner/work/audnexus/audnexus/tests/audible/books/scrape.test.ts:27: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)

Check failure on line 42 in tests/audible/books/scrape.test.ts

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

Audible HTML > When scraping Scorcerers Stone genres/series > returned the correct data

Error: expect(received).toEqual(expected) // deep equality

- Expected  - 5
+ Received  + 0

@@ -3,12 +3,7 @@
      Object {
        "asin": "18572091011",
        "name": "Children's Audiobooks",
        "type": "genre",
      },
-     Object {
-       "asin": "18572588011",
-       "name": "Action & Adventure",
-       "type": "tag",
-     },
    ],
  }
    at Object.<anonymous> (/home/runner/work/audnexus/audnexus/tests/audible/books/scrape.test.ts:43: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)

Check failure on line 59 in tests/audible/books/scrape.test.ts

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

Audible HTML > When fetching The Coldest Case HTML > returned the correct data

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)