Skip to content

Commit

Permalink
Merge pull request #35 from BonnierNews/node14
Browse files Browse the repository at this point in the history
node 14 support
  • Loading branch information
kristofferjansson authored May 10, 2021
2 parents af07e30 + d7b4e65 commit c526d78
Show file tree
Hide file tree
Showing 7 changed files with 1,125 additions and 1,044 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x, 10.x, 12.x]
node-version: [10.x, 12.x, 14.x]

steps:
- uses: actions/checkout@v2
Expand Down
8 changes: 8 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"timeout": 10000,
"reporter": "spec",
"recursive": true,
"ui": "mocha-cakes-2",
"exit": true,
"require": ["./test/config/setup.js"]
}
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8
14
2 changes: 1 addition & 1 deletion lib/testHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function clearAndInit(callback) {
}

function drop(callback) {
assert.equal(process.env.NODE_ENV, "test", `Wont purge db in env "${process.env.NODE_ENV}"`);
assert(process.env.NODE_ENV === "test", `Wont purge db in env "${process.env.NODE_ENV}"`);
async.retry({times: 6, interval: 500}, (retryCb) => {
pgClient.query(
Object.values(tables)
Expand Down
Loading

0 comments on commit c526d78

Please sign in to comment.