import {Bootstrap} from './application/Bootstrap' import {configureServer} from './application/configureServer' import {IAPIDef} from '@rondo.dev/common' import {TestUtils} from './test-utils' import {config} from './config' import {createNamespace} from 'cls-hooked' export const exit = jest.fn() export const bootstrap = new Bootstrap({ config, configureServer, namespace: createNamespace('test'), exit, }) // TODO separate IAPIDef between projects export const test = new TestUtils(bootstrap) export const {request} = test