We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9672a6c commit bff1f35Copy full SHA for bff1f35
spec/helper.js
@@ -47,12 +47,14 @@ if (process.env.PARSE_SERVER_TEST_DB === 'postgres') {
47
uri: process.env.PARSE_SERVER_TEST_DATABASE_URI || postgresURI,
48
collectionPrefix: 'test_',
49
});
50
-} else if (process.env.TRAVIS != 'true') {
51
- startDB = require('mongodb-runner/mocha/before').bind({
52
- timeout: () => {},
53
- slow: () => {}
54
- })
55
- stopDB = require('mongodb-runner/mocha/after');
+} else {
+ if (process.env.TRAVIS != 'true') {
+ startDB = require('mongodb-runner/mocha/before').bind({
+ timeout: () => {},
+ slow: () => {}
+ })
56
+ stopDB = require('mongodb-runner/mocha/after');
57
+ }
58
databaseAdapter = new MongoStorageAdapter({
59
uri: mongoURI,
60
0 commit comments