@bitdiver/result-rest-api
Version:
Result Rest API
14 lines (11 loc) • 357 B
JavaScript
import { startServer, getLogAdapter } from '../lib/index'
const LOGGER = getLogAdapter()
// disable console logging
LOGGER.writeConsole = true
test('Start und Stop Server', async done => {
const { httpServer, express } = await startServer()
expect(httpServer).not.toBeUndefined()
expect(express).not.toBeUndefined()
httpServer.close()
done()
})