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

9 lines
234 B
JavaScript
Raw Permalink Normal View History

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