mq.test.ts 270 B

123456789101112
  1. import { close, createApp } from '@midwayjs/mock';
  2. describe('/test/index.test.ts', () => {
  3. it('should test create message and get from app', async () => {
  4. const app = await createApp();
  5. console.log(app);
  6. // wait a moment
  7. await close(app);
  8. });
  9. });