File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 95
95
"lint" : " flow && eslint --cache ./" ,
96
96
"build" : " babel src/ -d lib/ --copy-files" ,
97
97
"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" ,
102
100
"start" : " node ./bin/parse-server" ,
103
101
"prepare" : " npm run build" ,
104
102
"postinstall" : " node -p 'require(\" ./postinstall.js\" )()'"
Original file line number Diff line number Diff line change @@ -154,14 +154,16 @@ describe('batch', () => {
154
154
155
155
if (
156
156
( 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' ) ||
158
159
process . env . PARSE_SERVER_TEST_DB === 'postgres'
159
160
) {
160
161
describe ( 'transactions' , ( ) => {
161
162
beforeAll ( async ( ) => {
162
163
if (
163
164
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'
165
167
) {
166
168
await reconfigureServer ( {
167
169
databaseAdapter : undefined ,
You can’t perform that action at this time.
0 commit comments