Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from Mariadb to Postgres #400

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
Draft

Migrate from Mariadb to Postgres #400

wants to merge 10 commits into from

Conversation

mytlogos
Copy link
Owner

@mytlogos mytlogos commented Sep 18, 2022

  • Use slonik package for some abstractions

- use more typing
- fix most indentifier case problems
- replace mysql locate with postgres strpos
- convert on duplicate to on conflict
- fix some syntax errors
- fix missing values for addToc
BREAKING CHANGE: migrate from mariadb to postgresql
- changed database schema identifiers to use snake_case
- removed some unused tables
- resetted database version
- resetted database migrations
- rewrote database api to use slonik
- removed deprecated databaseValidator
- removed unused contextHelper
- removed unnecessary subContext.ts
- removed deprecated process server api
@github-actions github-actions bot added core scraper server Specific to the Http Server Website Specific to the Website labels Sep 18, 2022
@mytlogos mytlogos marked this pull request as draft September 18, 2022 20:56
@github-actions
Copy link

github-actions bot commented Sep 18, 2022

Coverage report

❌ An unexpected error occurred. For more details, check console

Error: The process '/opt/hostedtoolcache/node/16.17.1/x64/bin/npx' failed with exit code 1
St.
Category Percentage Covered / Total
🟡 Statements
74.32% (-25.68% 🔻)
15284/20564
🟢 Branches
81.65% (-18.35% 🔻)
267/327
🔴 Functions
21.59% (-78.41% 🔻)
95/440
🟡 Lines
74.32% (-25.68% 🔻)
15284/20564
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🔴
... / asyncStorage.ts
44.47% 50% 20% 44.47%
🟡
... / columnSchema.ts
60% 100% 66.67% 60%
🔴
... / appEventContext.ts
19.7% 100% 0% 19.7%
🔴
... / customHookContext.ts
23.21% 100% 0% 23.21%
🔴
... / databaseContext.ts
34.36% 100% 0% 34.36%
🔴
... / episodeContext.ts
20.39% 100% 0% 20.39%
🔴
... / episodeReleaseContext.ts
16.18% 100% 0% 16.18%
🔴
... / externalListContext.ts
32.68% 100% 0% 32.68%
🔴
... / externalUserContext.ts
30.51% 100% 0% 30.51%
🔴
... / genericContext.ts
15.44% 100% 0% 15.44%
🔴
... / helper.ts
25% 100% 0% 25%
🔴
... / internalListContext.ts
27.39% 100% 0% 27.39%
🔴
... / jobContext.ts
16.48% 100% 0% 16.48%
🔴
... / mediumContext.ts
12.09% 100% 0% 12.09%
🔴
... / mediumInWaitContext.ts
22.22% 100% 0% 22.22%
🔴
... / mediumTocContext.ts
22.63% 100% 0% 22.63%
🔴
... / newsContext.ts
29.47% 100% 0% 29.47%
🔴
... / notificationContext.ts
23.4% 100% 0% 23.4%
🔴
... / partContext.ts
19.79% 100% 0% 19.79%
🔴
... / queryContext.ts
53.55% 100% 0% 53.55%
🔴
... / scraperHookContext.ts
36.99% 100% 0% 36.99%
🔴
... / userContext.ts
31.19% 100% 0% 31.19%
🟢
... / databaseBuilder.ts
89.54% 84.85% 81.82% 89.54%
🟢
... / databaseSchema.ts
100% 100% 100% 100%
🟢
... / databaseTypes.ts
100% 100% 100% 100%
🟢
... / migrations.ts
100% 100% 100% 100%
🟢
... / mysqlError.ts
100% 100% 100% 100%
🔴
... / schemaManager.ts
18.98% 100% 0% 18.98%
🟡
... / storage.ts
65.6% 72.73% 51.61% 65.6%
🔴
... / storageTools.ts
31.11% 100% 0% 31.11%
🔴
... / tableSchema.ts
35.48% 100% 50% 35.48%
🔴
... / trigger.ts
55.26% 100% 0% 55.26%
🔴
... / triggerBuilder.ts
46.94% 100% 0% 46.94%
🟢 core/src/env.ts 90.28% 25% 100% 90.28%
🟡 core/src/error.ts 62.4% 100% 25% 62.4%
🔴 core/src/exit.ts 44% 100% 50% 44%
🔴
... / internetTester.ts
47.95% 100% 33.33% 47.95%
🟡 core/src/logger.ts 68.09% 25% 25% 68.09%
🔴
... / contextHelper.ts
41.99% 55.56% 21.74% 41.99%
🟡 core/src/tools.ts 76.25% 91.84% 68.18% 76.25%
🟢 core/src/types.ts 100% 100% 100% 100%
🟢
... / tools.ts
100% 100% 100% 100%

Test suite run failed

Failed tests: 35/124. Failed suites: 3/5.
  ● episodeContext › getDisplayReleases › should not throw, when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getDisplayReleases › should not throw, when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getAll › should not return any rows

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getAll › should not return any rows

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:53:37)

  ● episodeContext › getAll › should not return any rows

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getAll › should return correct rows

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getAll › should return correct rows

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:53:37)

  ● episodeContext › getAll › should return correct rows

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getAllReleases › should not throw

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getAllReleases › should not throw

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getMediumReleases › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getMediumReleases › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getAssociatedEpisode › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getAssociatedEpisode › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getLatestReleases › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getLatestReleases › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getReleases › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getReleases › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getReleasesByHost › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getReleasesByHost › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getMediumReleasesByHost › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getMediumReleasesByHost › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getPartsEpisodeIndices › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getPartsEpisodeIndices › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › removeProgress › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › removeProgress › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getProgress › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getProgress › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › updateProgress › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › updateProgress › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › addRelease › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › addRelease › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getEpisodeLinksByMedium › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getEpisodeLinksByMedium › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getSourcedReleases › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getSourcedReleases › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › updateRelease › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › updateRelease › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › deleteRelease › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › deleteRelease › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getEpisodeContentData › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getEpisodeContentData › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › addEpisode › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › addEpisode › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getEpisode › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getEpisode › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getPartMinimalEpisodes › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getPartMinimalEpisodes › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getPartEpisodePerIndex › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getPartEpisodePerIndex › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getMediumEpisodePerIndex › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getMediumEpisodePerIndex › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › updateEpisode › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › updateEpisode › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › moveEpisodeToPart › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › moveEpisodeToPart › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › deleteEpisode › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › deleteEpisode › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getChapterIndices › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getChapterIndices › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getAllChapterLinks › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getAllChapterLinks › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getUnreadChapter › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getUnreadChapter › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getReadToday › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getReadToday › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getMediumEpisodes › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getMediumEpisodes › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › getEpisodeLinks › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › getEpisodeLinks › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)

  ● episodeContext › markLowerIndicesRead › should not throw when using valid parameters

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)

  ● episodeContext › markLowerIndicesRead › should not throw when using valid parameters

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:38:27)


  ● Test suite failed to run

    AssertionError [ERR_ASSERTION]: unknown message code: 71

      at Parser.handlePacket (node_modules/pg-protocol/src/parser.ts:202:16)
      at Parser.parse (node_modules/pg-protocol/src/parser.ts:103:30)
      at Socket.<anonymous> (node_modules/pg-protocol/src/index.ts:7:48)

  ● Test suite failed to run

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:52:28)

  ● Test suite failed to run

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:209:28)

  ● Test suite failed to run

    DatabaseConnectionError: Not started

      62 |   if (!poolProvider.running) {
      63 |     // if inContext is called without Storage being active
    > 64 |     return Promise.reject(new DatabaseConnectionError("Not started"));
         |                           ^
      65 |   }
      66 |   if (poolProvider.errorAtStart) {
      67 |     return Promise.reject(

      at Object.storageInContext (packages/core/src/database/storages/storage.ts:64:27)
      at inContext (packages/core/src/test/database/context/contextHelper.ts:12:18)
      at cleanUserEpisode (packages/core/src/test/database/context/contextHelper.ts:350:9)
      at cleanAll (packages/core/src/test/database/context/contextHelper.ts:375:9)
      at Object.<anonymous> (packages/core/src/test/database/context/episodeContext.spec.ts:333:28)

  ● Test suite failed to run

    Connection terminated unexpectedly

      at Connection.<anonymous> (node_modules/pg/lib/client.js:132:73)
      at Socket.<anonymous> (node_modules/pg/lib/connection.js:107:12)


  ● Test suite failed to run

    packages/scraper/src/externals/request/request.ts:364:36 - error TS2345: Argument of type '{ key: string; value: string; expires: number; domain: string; path: string; secure: boolean; httpOnly: boolean; }' is not assignable to parameter of type 'string'.

    364       const toughCookie = fromJSON({
                                           ~
    365         key: cookie.name,
        ~~~~~~~~~~~~~~~~~~~~~~~~~
    ... 
    372         httpOnly: cookie.httpOnly,
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    373       });
        ~~~~~~~


  ● Test suite failed to run

    packages/scraper/src/externals/request/request.ts:364:36 - error TS2345: Argument of type '{ key: string; value: string; expires: number; domain: string; path: string; secure: boolean; httpOnly: boolean; }' is not assignable to parameter of type 'string'.

    364       const toughCookie = fromJSON({
                                           ~
    365         key: cookie.name,
        ~~~~~~~~~~~~~~~~~~~~~~~~~
    ... 
    372         httpOnly: cookie.httpOnly,
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    373       });
        ~~~~~~~

Report generated by 🧪jest coverage report action from 70bfbf7

- fix import loop of querycontext
- use a new(old) way to declare db schemata
- fix identifier escaping
- provide helper methods for sql.join
- change column to boolean in scraper_hook
@sonarcloud
Copy link

sonarcloud bot commented Sep 20, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 1 Security Hotspot
Code Smell A 111 Code Smells

No Coverage information No Coverage information
0.8% 0.8% Duplication

@sonarcloud
Copy link

sonarcloud bot commented Oct 26, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 1 Security Hotspot
Code Smell A 123 Code Smells

No Coverage information No Coverage information
0.7% 0.7% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core scraper server Specific to the Http Server Website Specific to the Website
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant