17 lines
409 B
TypeScript
17 lines
409 B
TypeScript
import {Bootstrap} from './application/Bootstrap'
|
|
import {IAPIDef} from '@rondo/common'
|
|
import {NamespaceMock, TestUtils} from './test-utils'
|
|
import {config} from './config'
|
|
|
|
export const exit = jest.fn()
|
|
|
|
const bootstrap = new Bootstrap(
|
|
config,
|
|
new NamespaceMock(),
|
|
exit,
|
|
)
|
|
|
|
// TODO separate IAPIDef between projects
|
|
export const test = new TestUtils<IAPIDef>(bootstrap)
|
|
export const {request} = test
|