overleaf/services/spelling/test/acceptance/js/Init.js

9 lines
234 B
JavaScript
Raw Normal View History

const { waitForDb } = require('../../../app/js/mongodb')
const App = require('../../../app.js')
const { PORT } = require('./helpers/request')
before(waitForDb)
2020-08-10 16:23:15 +00:00
before(function (done) {
2020-06-03 08:52:36 +00:00
return App.listen(PORT, 'localhost', done)
})