Changelog
3.2.2 (2023-04-02)
fixes
8c4c458
] - fix: support mock function which has properties (#53) (killa <killa123@126.com>)features
d2e4c28
] - feat: support mock class method from instance (#52) (fengmk2 <fengmk2@gmail.com>)features
5ed8a73
] - feat: mm.spy method (#51) (Yiyu He <dead_horse@qq.com>)fixes
8fea4ad
] - fix: support mock jest.fn() (Yiyu He <dead_horse@qq.com>)fixes
0e310b4
] - fix: do function type check after execute (#49) (Yiyu He <dead_horse@qq.com>)fixes
6ca26e4
] - fix: fix this binding (#48) (Yiyu He <dead_horse@qq.com>)features
f49c32e
] - feat: spy function by default (#47) (Yiyu He <dead_horse@qq.com>)d8d9aa3
] - feat: [BREAKING] don't allow to mock async function to normal function (#46) (fengmk2 <fengmk2@gmail.com>)others
eec0876
] - chore: fix errorOnce (fengmk2 <fengmk2@gmail.com>)features
c204c5e
] - feat: support mock error once (#45) (fengmk2 <fengmk2@gmail.com>)others
2cb2baf
] - test: run test on macos on azure-pipelines (#44) (fengmk2 <fengmk2@gmail.com>)fixes
58eb437
] - fix: typpings error (#43) (whxaxes <whxaxes@gmail.com>)others
6a84a0a
] - refactor(tsd): use Interface Function Type so that egg-mock can extends this; (#42) (paranoidjk <hust2012jiangkai@gmail.com>)features
ea75ed5
] - feat: add .d.ts (#41) (paranoidjk <hust2012jiangkai@gmail.com>)fixes
2cd32f9
] - fix: mock http error response need socket (#40) (Yiyu He <dead_horse@qq.com>)fixes
721dc6b
] - fix: support node 10 on https (#39) (fengmk2 <fengmk2@gmail.com>)features
72e5478
] - feat: use stream class to replace EventEmitter. (Qi Yu <njuyuqi@gmail.com>)others
eb0eaae
] - test: add mock request pipe test case (fengmk2 <fengmk2@gmail.com>)fixes
ea1194c
] - fix: should support http request mock on node8 (#38) (fengmk2 <fengmk2@gmail.com>)007f053
] - fix: README typo (#32) (HC Chen <chceyes@gmail.com>)others
0e818e3
] - test: fix test on node4 (#33) (Haoliang Gao <sakura9515@gmail.com>)rejectUnauthorized = false
req
error not res
error event.Changelog
3.2.2 (2023-04-02)
fixes
8c4c458
] - fix: support mock function which has properties (#53) (killa <killa123@126.com>)features
d2e4c28
] - feat: support mock class method from instance (#52) (fengmk2 <fengmk2@gmail.com>)features
5ed8a73
] - feat: mm.spy method (#51) (Yiyu He <dead_horse@qq.com>)fixes
8fea4ad
] - fix: support mock jest.fn() (Yiyu He <dead_horse@qq.com>)fixes
0e310b4
] - fix: do function type check after execute (#49) (Yiyu He <dead_horse@qq.com>)fixes
6ca26e4
] - fix: fix this binding (#48) (Yiyu He <dead_horse@qq.com>)features
f49c32e
] - feat: spy function by default (#47) (Yiyu He <dead_horse@qq.com>)d8d9aa3
] - feat: [BREAKING] don't allow to mock async function to normal function (#46) (fengmk2 <fengmk2@gmail.com>)others
eec0876
] - chore: fix errorOnce (fengmk2 <fengmk2@gmail.com>)features
c204c5e
] - feat: support mock error once (#45) (fengmk2 <fengmk2@gmail.com>)others
2cb2baf
] - test: run test on macos on azure-pipelines (#44) (fengmk2 <fengmk2@gmail.com>)fixes
58eb437
] - fix: typpings error (#43) (whxaxes <whxaxes@gmail.com>)others
6a84a0a
] - refactor(tsd): use Interface Function Type so that egg-mock can extends this; (#42) (paranoidjk <hust2012jiangkai@gmail.com>)features
ea75ed5
] - feat: add .d.ts (#41) (paranoidjk <hust2012jiangkai@gmail.com>)fixes
2cd32f9
] - fix: mock http error response need socket (#40) (Yiyu He <dead_horse@qq.com>)fixes
721dc6b
] - fix: support node 10 on https (#39) (fengmk2 <fengmk2@gmail.com>)features
72e5478
] - feat: use stream class to replace EventEmitter. (Qi Yu <njuyuqi@gmail.com>)others
eb0eaae
] - test: add mock request pipe test case (fengmk2 <fengmk2@gmail.com>)fixes
ea1194c
] - fix: should support http request mock on node8 (#38) (fengmk2 <fengmk2@gmail.com>)007f053
] - fix: README typo (#32) (HC Chen <chceyes@gmail.com>)others
0e818e3
] - test: fix test on node4 (#33) (Haoliang Gao <sakura9515@gmail.com>)rejectUnauthorized = false
req
error not res
error event.