Skip to content

Commit 145c28d

Browse files
committed
One more attempt
1 parent 560c9fd commit 145c28d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,8 @@
9595
"lint": "flow && eslint --cache ./",
9696
"build": "babel src/ -d lib/ --copy-files",
9797
"watch": "babel --watch src/ -d lib/ --copy-files",
98-
"pretest": "mongodb-runner start",
99-
"test": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.0.4} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=mmapv1} TESTING=1 jasmine",
100-
"posttest": "mongodb-runner stop",
101-
"coverage": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.0.4} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=mmapv1} TESTING=1 nyc jasmine",
98+
"test": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.0.4} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=mmapv1} TESTING=1 jasmine",
99+
"coverage": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.0.4} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=mmapv1} TESTING=1 nyc jasmine",
102100
"start": "node ./bin/parse-server",
103101
"prepare": "npm run build",
104102
"postinstall": "node -p 'require(\"./postinstall.js\")()'"

spec/batch.spec.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,16 @@ describe('batch', () => {
154154

155155
if (
156156
(process.env.MONGODB_VERSION === '4.0.4' &&
157-
process.env.MONGODB_TOPOLOGY === 'replicaset') ||
157+
process.env.MONGODB_TOPOLOGY === 'replicaset' &&
158+
process.env.MONGODB_STORAGE_ENGINE === 'wiredTiger') ||
158159
process.env.PARSE_SERVER_TEST_DB === 'postgres'
159160
) {
160161
describe('transactions', () => {
161162
beforeAll(async () => {
162163
if (
163164
process.env.MONGODB_VERSION === '4.0.4' &&
164-
process.env.MONGODB_TOPOLOGY === 'replicaset'
165+
process.env.MONGODB_TOPOLOGY === 'replicaset' &&
166+
process.env.MONGODB_STORAGE_ENGINE === 'wiredTiger'
165167
) {
166168
await reconfigureServer({
167169
databaseAdapter: undefined,

0 commit comments

Comments
 (0)