Repository URL to install this package:
|
Version:
0.0.6 ▾
|
import {
toMockExpressRequest,
toMockExpressResponse,
toMockContext,
} from '../expressMock'
describe('expressMock', () => {
it('should match snapshots', () => {
const request = toMockExpressRequest()
expect(request).toMatchSnapshot()
const response = toMockExpressResponse()
expect(response).toMatchSnapshot()
const context = toMockContext()
expect(context).toMatchSnapshot()
})
})