-
Notifications
You must be signed in to change notification settings - Fork 807
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
chore: fix pg-pool test env #706
chore: fix pg-pool test env #706
Conversation
Codecov Report
@@ Coverage Diff @@
## master #706 +/- ##
=========================================
Coverage ? 92.64%
=========================================
Files ? 222
Lines ? 10342
Branches ? 925
=========================================
Hits ? 9581
Misses ? 761
Partials ? 0
|
@@ -94,8 +94,8 @@ describe('pg-pool@2.x', () => { | |||
let pool: pgPool<pg.Client>; | |||
const registry = new NodeTracerRegistry(); | |||
const logger = new NoopLogger(); | |||
const testPostgres = process.env.TEST_POSTGRES; // For CI: assumes local postgres db is already available | |||
const testPostgresLocally = process.env.TEST_POSTGRES_LOCAL; // For local: spins up local postgres db via docker | |||
const testPostgres = process.env.RUN_POSTGRES_TESTS; // For CI: assumes local postgres db is already available |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean tests have not been running?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm afraid so, but it should been running before test-utils package.
@@ -54,6 +54,7 @@ | |||
"@types/pg-pool": "^2.0.1", | |||
"@types/shimmer": "^1.0.1", | |||
"codecov": "^3.6.1", | |||
"cross-env": "^6.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
No description provided.