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

8 lines
234 B
JavaScript

const { waitForDb } = require('../../../app/js/mongodb')
const App = require('../../../app.js')
const { PORT } = require('./helpers/request')
before(waitForDb)
before(function (done) {
return App.listen(PORT, 'localhost', done)
})