serverless-spy
Version:
CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.
22 lines (19 loc) • 626 B
text/typescript
// import * as matchers from './matchers';
// if (expect !== undefined) {
// expect.extend(matchers);
// } else {
// /* eslint-disable no-console */
// console.error(
// "Unable to find Jest's global expect." +
// '\nPlease check you have added jest-extended correctly to your jest configuration.' +
// '\nSee https://github.com/jest-community/jest-extended#setup for help.'
// );
// /* eslint-enable no-console */
// }
// declare global {
// namespace jest {
// interface Matchers<R> {
// toReceiveEvent(serviceKey: string, condition?: (data: any) => boolean): R;
// }
// }
// }