egg-mock
Advanced tools
Changelog
5.5.0 (2022-12-28)
features
0bd71bc
] - 📦 NEW: Allow restore mockAgent only (#134) (fengmk2 <fengmk2@gmail.com>)features
6608f01
] - 📦 NEW: mock context support ctxStorage (#133) (fengmk2 <fengmk2@gmail.com>)fixes
18c366d
] - fix: use global hook for register global hook (#132) (killa <killa123@126.com>)features
209c921
] - feat: add EGG_FRAMEWORK for bootstrap custom framework (#131) (killa <killa123@126.com>)features
22f508c
] - feat: impl parallel app for mocha parallel mode (#130) (killa <killa123@126.com>)fixes
299f7ec
] - 🐛 FIX: Should use urllib-next package (#129) (fengmk2 <fengmk2@gmail.com>)others
17a6713
] - 🤖 TEST: Add httpclient streaming mocking (#128) (fengmk2 <fengmk2@gmail.com>)features
ae766ff
] - 👌 IMPROVE: Mock httpclient support delay ms and repeat times (#127) (fengmk2 <fengmk2@gmail.com>)features
60658ec
] - 📦 NEW: [BREAKING] Support egg 3.0 (#126) (fengmk2 <fengmk2@gmail.com>)features
983e610
] - feat: allow other envtype (#125) (吖猩 <whx89768@alibaba-inc.com>)others
bb9cb79
] - 📖 DOC: Change ci status badge (fengmk2 <fengmk2@gmail.com>)cd1f2db
] - 📖 DOC: Update contributors (fengmk2 <fengmk2@gmail.com>)74c0d8f
] - Create codeql-analysis.yml (fengmk2 <fengmk2@gmail.com>)6bcc866
] - 🤖 TEST: Fix assert cases (#124) (fengmk2 <fengmk2@gmail.com>)features
b45ad40
] - feat: add mockLog, expectLog to type define (#121) (fengmk2 <fengmk2@gmail.com>)features
ce6ecde
] - feat: add consoleLogger error when mockApp init error (mansonchor.github.com <mansonchor1987@gmail.com>)others
e7c73e3
] - build: remove node@6 (dead-horse <dead_horse@qq.com>)features
d5e584e
] - feat: httpclient support mock async function (#117) (Yiyu He <dead_horse@qq.com>)features
c39109f
] - feat: upgrade mm@3 (#116) (Yiyu He <dead_horse@qq.com>)fixes
51ef091
] - fix: backgroundTasksFinished ensure all tasks finished (#115) (Yiyu He <dead_horse@qq.com>)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 <dead_horse@qq.com>)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
] - feat: cluster mock support result (#92) (TZ <atian25@qq.com>)
* [be3d146
] - 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 <dead_horse@qq.com>)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 <dead_horse@qq.com>)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>)