features
ef5fef6] - feat: pick https://github.com/eggjs/egg-mock/pull/119/files (#120) (mansonchor.github.com <mansonchor1987@gmail.com>)fixes
51ef091] - fix: backgroundTasksFinished ensure all tasks finished (#115) (Yiyu He <>)
features
4c31c9e] - feat: support init hook before mock app init (#109) (TZ | 天猪 <atian25@qq.com>)fixes
cbab52a] - fix: enable sendRandom() method in unittest (#114) (GoodMeowing <36814673+GoodMeowing@users.noreply.github.com>)fixes
3bf5ded] - fix: mockLog don't read file (#113) (Yiyu He <>)
fixes
bd305d2] - fix: single mode will call app.agent.close (#108) (TZ | 天猪 <atian25@qq.com>)features
315e685] - feat: support app.notExpectLog() (#107) (fengmk2 <fengmk2@gmail.com>)fixes
e494325] - fix: mockHttpclient with multi-request (#106) (吖猩 <whx89768@alibaba-inc.com>)d836536] - fix: fix httpRequest function signature (#105) (Colin Cheng <zbinlin@gmail.com>)fixes
6be0c43] - fix: rimraf (#104) (TZ | 天猪 <atian25@qq.com>)features
9ada7f0] - feat: mockHttpclient support fn (#103) (TZ | 天猪 <atian25@qq.com>)fixes
478581a] - fix: remove egg-core deps (#101) (TZ | 天猪 <atian25@qq.com>)fixes
6174f9b] - fix: throw error when an egg plugin test is using bootstrap (#100) (TZ | 天猪 <atian25@qq.com>)fixes
a68ca65] - fix: should emit server (#98) (TZ | 天猪 <atian25@qq.com>)fixes
3f73bad] - fix: d.ts typo (#97) (TZ | 天猪 <atian25@qq.com>)features
81ed542] - feat: add mock API for customLoader (#95) (Haoliang Gao <sakura9515@gmail.com>)fixes
58d0b32] - fix: remove nonexistent type and correct typing (#96) (Sinux <askb@me.com>)features
* [[`93f8009`](https://github.com/eggjs/egg-mock/commit/93f8009c2f4c7d7f24b361f4713e035a2f993134)] - feat: cluster mock support result (#92) (TZ <<atian25@qq.com>>)
* [[`be3d146`](https://github.com/eggjs/egg-mock/commit/be3d1466bf438a379b85429c40c510d6be7ecc26)] - feat: bootstrap support run on jest env (#93) (fengmk2 <<fengmk2@gmail.com>>)
fixes
4b5dbb5] - fix: add app.mockLog() to improve app.expectLog() more stable (#87) (fengmk2 <fengmk2@gmail.com>)others
a64db33] - deps: add egg-logger dependency (#88) (fengmk2 <fengmk2@gmail.com>)features
283eef3] - feat: add app.agent.mockHttpclient() for agent (#82) (limerick <guods2015@gmail.com>)fixes
cc6b976] - fix: app.messenger.broadcast send to self (君羽 <ImHype@users.noreply.github.com>)fixes
00fb82e] - fix: fix declaration merging error (#86) (吖猩 <whxaxes@qq.com>)fixes
1635a90] - fix: show expectLog last 500 words on assert error (#85) (fengmk2 <fengmk2@gmail.com>)fixes
c91bf93] - fix: allow egg-core module missing (#83) (fengmk2 <fengmk2@gmail.com>)fixes
1710f7f] - fix: put mock restore at the end (#80) (fengmk2 <fengmk2@gmail.com>)fixes
db3cb11] - fix: make sure backgroundTasksFinished() return promise (#79) (fengmk2 <fengmk2@gmail.com>)features
ab5a47e] - feat: should wait for background task finish on afterEach (#78) (fengmk2 <fengmk2@gmail.com>)features
f25c50a] - feat: add app.expectLog() for app and cluster (#77) (fengmk2 <fengmk2@gmail.com>)others
ffb1187] - chore: improve tsd and add bootstrap.d.ts (#76) (SuperEVO <zhang740@qq.com>)others
62c3dfa] - refactor: middleware use promise-based style (#74) (Haoliang Gao <sakura9515@gmail.com>)fixes
3fbf862] - fix: mockSession save (#68) (TZ | 天猪 <atian25@qq.com>)features
9857065] - feat: add unexpectHeader() and expectHeader() (#67) (fengmk2 <fengmk2@gmail.com>)f1820d7] - feat: mm.app() support server event (#65) (fengmk2 <fengmk2@gmail.com>)fixes
d38d615] - fix: mockUrl accepts RegExp (#64) (Brick <brick.c.yang@gmail.com>)others
23c1075] - test: add post with multipart file test cases (#63) (fengmk2 <fengmk2@gmail.com>)others
be9bcd2] - refactor: modify d.ts and support bootstrap (Eward Song <eward.song@gmail.com>)fixes
9d071b2] - fix: support mock the same property multiple times (#61) (Yiyu He <>)
features
30ca0c9] - feat: port can be customized (#60) (Haoliang Gao <sakura9515@gmail.com>)fixes
5935564] - fix: missing methods package (dainli <dainli@outlook.com>)others
e7f518a] - fix(mockHttpclient): should use the copy of mockResult (#58) (Haoliang Gao <sakura9515@gmail.com>)others
e7f518a] - fix(mockHttpclient): should use the copy of mockResult (#58) (Haoliang Gao <sakura9515@gmail.com>)others
25a0e28] - feat(mockHttpclient): use Regular Expression for matching url (#57) (Haoliang Gao <sakura9515@gmail.com>)features
f1a08a6] - feat: support httpRequest().get(routerName) (#56) (fengmk2 <fengmk2@gmail.com>)features
f3654df] - feat: base promise to support async function (#55) (Yiyu He <>)
fixes
d6cafaa] - fix: fix agent type after ready (#54) (zōng yǔ <gxcsoccer@users.noreply.github.com>)features
9e1642c] - feat: add bootstrap (#53) (Yiyu He <dead-horse@users.noreply.github.com>)