Skip to content

Commit

Permalink
test timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
wmertens committed Nov 24, 2022
1 parent d832864 commit e58e4a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package-scripts.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const {concurrent, rimraf, series} = require('nps-utils')
const {rimraf, series} = require('nps-utils')
const {version} = require('./package.json')

const isPR = process.env.GH_EVENT === 'pull_request'
Expand Down Expand Up @@ -36,7 +36,7 @@ const scripts = {
fix: `eslint --fix .; prettier --write .`,
},
test: {
default: concurrent.nps('lint', 'test.full'),
default: series.nps('lint', 'test.full'),
// Note, this changes the repo during the run
ci: isPR
? `git reset ${comparisonRef} && NODE_ENV=test jest --ci --coverage --color --onlyChanged; out=$?; git reset HEAD@{1}; exit $out`
Expand Down
2 changes: 2 additions & 0 deletions src/EventSourcingDB/ESDB-readOnly.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import {chmod} from 'fs-extra'
import ESDB from '.'
import {testModels} from '../lib/_test-helpers'

jest.setTimeout(20_000)

test('open eSDB read-only separate queue', () =>
tmp.withDir(
async ({path: dir}) => {
Expand Down

0 comments on commit e58e4a2

Please sign in to comment.