Files
kami-parse-server/spec/support/FailingServer.js
Antonio Davi Macedo Coelho de Castro 893f1d376e Remove test delays (#5579)
* Changing __indexBuildCompletionCallbackForTests callback to serverStartComplete

* Improving serverStartComplete callback to avoid production unhandled promise rejection

* Add test to check inexistence of unhandled promise rejection on server fail

* Removing some hooks delays

* Removing delay after reconfigureServer

* Improving code style
2019-05-14 11:34:51 -07:00

11 lines
231 B
JavaScript
Executable File

#!/usr/bin/env node
const ParseServer = require('../../lib/index').ParseServer;
ParseServer.start({
appId: 'test',
masterKey: 'test',
databaseURI:
'mongodb://doesnotexist:27017/parseServerMongoAdapterTestDatabase',
});