diff --git a/package-scripts.js b/package-scripts.js index 769b4bc..ac3f7b9 100644 --- a/package-scripts.js +++ b/package-scripts.js @@ -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' @@ -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` diff --git a/src/EventSourcingDB/ESDB-readOnly.test.js b/src/EventSourcingDB/ESDB-readOnly.test.js index 8776acf..350d1ee 100644 --- a/src/EventSourcingDB/ESDB-readOnly.test.js +++ b/src/EventSourcingDB/ESDB-readOnly.test.js @@ -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}) => {