Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

egg-mock

Package Overview
Dependencies
31
Maintainers
3
Versions
127
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
35
13Next

5.8.0

Diff

Changelog

Source

5.8.0 (2023-01-09)

Features

  • use mocha global hook to register before/after (#140) (9ef65de)
fengmk2
published 5.7.1 •

Changelog

Source

5.7.1 (2023-01-07)

Bug Fixes

fengmk2
published 5.7.0 •

Changelog

Source

5.7.0 (2023-01-03)

Features

fengmk2
published 5.6.0 •

Changelog

Source

5.6.0 (2023-01-03)

Features

fengmk2
published 5.5.0 •

Changelog

Source

5.5.0 (2022-12-28)

Features


5.4.0 / 2022-12-14

features

5.3.0 / 2022-12-09

features

5.2.1 / 2022-11-11

fixes

5.2.0 / 2022-11-08

features

5.1.0 / 2022-11-04

features

5.0.2 / 2022-10-09

fixes

others

5.0.1 / 2022-09-29

features

5.0.0 / 2022-09-29

features

4.2.1 / 2022-05-17

features

others

4.2.0 / 2021-12-17

features

4.1.0 / 2021-04-05

features

others

4.0.1 / 2020-08-19

features

4.0.0 / 2020-03-01

features

3.25.1 / 2020-01-17

fixes

3.25.0 / 2019-12-12

features

fixes

3.24.2 / 2019-11-07

fixes

3.24.1 / 2019-09-30

fixes

3.24.0 / 2019-09-26

features

3.23.2 / 2019-09-10

fixes

3.23.1 / 2019-05-20

fixes

3.23.0 / 2019-05-20

features

3.22.4 / 2019-05-06

fixes

3.22.3 / 2019-05-06

fixes

  • [6174f9b] - fix: throw error when an egg plugin test is using bootstrap (#100) (TZ | 天猪 <atian25@qq.com>)

3.22.2 / 2019-04-10

fixes

3.22.1 / 2019-03-12

fixes

3.22.0 / 2019-03-11

features

fixes

3.21.0 / 2018-12-27

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>)

3.20.1 / 2018-09-17

fixes

others

3.20.0 / 2018-08-30

features

3.19.7 / 2018-08-28

fixes

3.19.6 / 2018-08-24

fixes

3.19.5 / 2018-08-24

fixes

3.19.4 / 2018-08-24

  • feat: .d.ts 新增继承自 mm 的 api (#81)

3.19.3 / 2018-08-16

fixes

3.19.2 / 2018-08-07

fixes

3.19.1 / 2018-08-07

fixes

3.19.0 / 2018-08-06

features

3.18.0 / 2018-08-03

features

others

3.17.3 / 2018-07-14

  • types: add bootstrap.d.ts (#75)

3.17.2 / 2018-05-21

others

3.17.1 / 2018-04-21

  • fix: remove options.typescript support (#73)

3.17.0 / 2018-03-30

  • feat: support ts from env and pkg (#71)

3.16.0 / 2018-03-28

  • feat: support ts (#70)
  • fix: mockSession save should not be enumerable (#69)

3.15.1 / 2018-03-20

fixes

3.15.0 / 2018-03-08

features

3.14.1 / 2018-02-28

fixes

others

3.14.0 / 2017-12-12

others

3.13.1 / 2017-10-17

fixes

3.13.0 / 2017-10-10

features

3.12.2 / 2017-09-22

fixes

others

  • [e7f518a] - fix(mockHttpclient): should use the copy of mockResult (#58) (Haoliang Gao <sakura9515@gmail.com>)
  • [new tag] 3.12.1 -> 3.12.1

3.12.1 / 2017-09-13

others

3.12.0 / 2017-09-12

others

3.11.0 / 2017-09-11

features

3.10.0 / 2017-08-30

features

3.9.1 / 2017-08-14

fixes

3.9.0 / 2017-08-02

features

3.8.0 / 2017-06-21

  • deps: upgrade dependencies (#51)
  • test: disable coverage when mm.cluster (#50)

3.7.2 / 2017-06-07

  • fix(httpclient): miss headers on options when emit response (#49)

3.7.1 / 2017-06-01

  • fix: detect prop object type can be non string (#48)

3.7.0 / 2017-05-18

  • feat: support prerequire files (#46)

3.6.1 / 2017-05-11

  • fix: ignore all error on cluster mock restore (#45)

3.6.0 / 2017-05-10

  • chore: add tsd (#43)
  • feat: support mock function on cluster mode (#44)
  • deps: upgrade dependencies (#42)

3.5.0 / 2017-04-25

  • feat: mockUrllib support async function (#41)

3.4.0 / 2017-04-17

  • feat: should pass when emit egg-ready (#39)

3.3.0 / 2017-04-15

  • feat: add app.httpRequest() test helper (#38)

3.2.0 / 2017-03-14

  • feat: mockHttpClient support mock multi methods (#35)
  • test: remove userrole (#34)

3.1.2 / 2017-03-05

  • fix: should pass all arguments when mockCookies (#33)

3.1.1 / 2017-03-04

  • fix: egg-mock is not a framework (#32)

3.1.0 / 2017-03-02

  • feat: use framework instead of customEgg (#31)

3.0.1 / 2017-02-22

  • fix: app.close in right order (#30)

3.0.0 / 2017-02-13

  • deps: upgrade egg (#29)
  • fix: bind messenger with app and agent (#28)
  • feat: [BREAKING_CHANGE] can get error from .ready() (#27)
  • test: remove unuse codes (#26)

2.4.0 / 2017-02-08

  • feat: listen error that thrown when app init (#25)

2.3.1 / 2017-01-26

  • fix: improve proxy handler and event listener (#24)

2.3.0 / 2017-01-25

  • feat: cluster-client support for mm.app (#23)

2.2.0 / 2017-01-25

  • feat: reimplement mm.app (#22)

2.1.0 / 2017-01-16

  • feat: support read framework from package.json (#20)

2.0.0 / 2017-01-12

  • refactor: use mockHttpclient instead of mockUrllib (#19)

1.3.0 (deprecated) / 2017-01-12

  • refactor: use mockHttpclient instead of mockUrllib (#19)

1.2.1 / 2017-01-09

  • fix: can't override data when mockContext(data) (#18)
  • fix: replace the internal link into an github link in the env comment. (#17)

1.2.0 / 2016-11-11

  • feat: try to lookup egg that will be the default customEgg (#16)
  • fix: don't use cache when app from cache is closed (#15)

1.1.0 / 2016-11-02

  • feat: add mm.home (#14)

1.0.0 / 2016-11-01

  • test: add testcase (#10)

0.0.8 / 2016-10-25

  • feat: wait 10ms to close app (#13)

0.0.7 / 2016-10-25

  • feat: should close agent when app close (#12)

0.0.6 / 2016-10-24

  • feat: cluster should wait process exit (#11)
  • docs:update readme (#9)
  • docs: update readme

0.0.5 / 2016-10-11

  • feat: pass opt to coffee (#7)

0.0.4 / 2016-08-16

  • fix: add eggPath for new egg (#5)
fengmk2
published 5.4.0 •

Changelog

Source

5.5.0 (2022-12-28)

Features


5.4.0 / 2022-12-14

features

5.3.0 / 2022-12-09

features

5.2.1 / 2022-11-11

fixes

5.2.0 / 2022-11-08

features

5.1.0 / 2022-11-04

features

5.0.2 / 2022-10-09

fixes

others

5.0.1 / 2022-09-29

features

5.0.0 / 2022-09-29

features

4.2.1 / 2022-05-17

features

others

4.2.0 / 2021-12-17

features

4.1.0 / 2021-04-05

features

others

4.0.1 / 2020-08-19

features

4.0.0 / 2020-03-01

features

3.25.1 / 2020-01-17

fixes

3.25.0 / 2019-12-12

features

fixes

3.24.2 / 2019-11-07

fixes

3.24.1 / 2019-09-30

fixes

3.24.0 / 2019-09-26

features

3.23.2 / 2019-09-10

fixes

3.23.1 / 2019-05-20

fixes

3.23.0 / 2019-05-20

features

3.22.4 / 2019-05-06

fixes

3.22.3 / 2019-05-06

fixes

  • [6174f9b] - fix: throw error when an egg plugin test is using bootstrap (#100) (TZ | 天猪 <atian25@qq.com>)

3.22.2 / 2019-04-10

fixes

3.22.1 / 2019-03-12

fixes

3.22.0 / 2019-03-11

features

fixes

3.21.0 / 2018-12-27

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>)

3.20.1 / 2018-09-17

fixes

others

3.20.0 / 2018-08-30

features

3.19.7 / 2018-08-28

fixes

3.19.6 / 2018-08-24

fixes

3.19.5 / 2018-08-24

fixes

3.19.4 / 2018-08-24

  • feat: .d.ts 新增继承自 mm 的 api (#81)

3.19.3 / 2018-08-16

fixes

3.19.2 / 2018-08-07

fixes

3.19.1 / 2018-08-07

fixes

3.19.0 / 2018-08-06

features

3.18.0 / 2018-08-03

features

others

3.17.3 / 2018-07-14

  • types: add bootstrap.d.ts (#75)

3.17.2 / 2018-05-21

others

3.17.1 / 2018-04-21

  • fix: remove options.typescript support (#73)

3.17.0 / 2018-03-30

  • feat: support ts from env and pkg (#71)

3.16.0 / 2018-03-28

  • feat: support ts (#70)
  • fix: mockSession save should not be enumerable (#69)

3.15.1 / 2018-03-20

fixes

3.15.0 / 2018-03-08

features

3.14.1 / 2018-02-28

fixes

others

3.14.0 / 2017-12-12

others

3.13.1 / 2017-10-17

fixes

3.13.0 / 2017-10-10

features

3.12.2 / 2017-09-22

fixes

others

  • [e7f518a] - fix(mockHttpclient): should use the copy of mockResult (#58) (Haoliang Gao <sakura9515@gmail.com>)
  • [new tag] 3.12.1 -> 3.12.1

3.12.1 / 2017-09-13

others

3.12.0 / 2017-09-12

others

3.11.0 / 2017-09-11

features

3.10.0 / 2017-08-30

features

3.9.1 / 2017-08-14

fixes

3.9.0 / 2017-08-02

features

3.8.0 / 2017-06-21

  • deps: upgrade dependencies (#51)
  • test: disable coverage when mm.cluster (#50)

3.7.2 / 2017-06-07

  • fix(httpclient): miss headers on options when emit response (#49)

3.7.1 / 2017-06-01

  • fix: detect prop object type can be non string (#48)

3.7.0 / 2017-05-18

  • feat: support prerequire files (#46)

3.6.1 / 2017-05-11

  • fix: ignore all error on cluster mock restore (#45)

3.6.0 / 2017-05-10

  • chore: add tsd (#43)
  • feat: support mock function on cluster mode (#44)
  • deps: upgrade dependencies (#42)

3.5.0 / 2017-04-25

  • feat: mockUrllib support async function (#41)

3.4.0 / 2017-04-17

  • feat: should pass when emit egg-ready (#39)

3.3.0 / 2017-04-15

  • feat: add app.httpRequest() test helper (#38)

3.2.0 / 2017-03-14

  • feat: mockHttpClient support mock multi methods (#35)
  • test: remove userrole (#34)

3.1.2 / 2017-03-05

  • fix: should pass all arguments when mockCookies (#33)

3.1.1 / 2017-03-04

  • fix: egg-mock is not a framework (#32)

3.1.0 / 2017-03-02

  • feat: use framework instead of customEgg (#31)

3.0.1 / 2017-02-22

  • fix: app.close in right order (#30)

3.0.0 / 2017-02-13

  • deps: upgrade egg (#29)
  • fix: bind messenger with app and agent (#28)
  • feat: [BREAKING_CHANGE] can get error from .ready() (#27)
  • test: remove unuse codes (#26)

2.4.0 / 2017-02-08

  • feat: listen error that thrown when app init (#25)

2.3.1 / 2017-01-26

  • fix: improve proxy handler and event listener (#24)

2.3.0 / 2017-01-25

  • feat: cluster-client support for mm.app (#23)

2.2.0 / 2017-01-25

  • feat: reimplement mm.app (#22)

2.1.0 / 2017-01-16

  • feat: support read framework from package.json (#20)

2.0.0 / 2017-01-12

  • refactor: use mockHttpclient instead of mockUrllib (#19)

1.3.0 (deprecated) / 2017-01-12

  • refactor: use mockHttpclient instead of mockUrllib (#19)

1.2.1 / 2017-01-09

  • fix: can't override data when mockContext(data) (#18)
  • fix: replace the internal link into an github link in the env comment. (#17)

1.2.0 / 2016-11-11

  • feat: try to lookup egg that will be the default customEgg (#16)
  • fix: don't use cache when app from cache is closed (#15)

1.1.0 / 2016-11-02

  • feat: add mm.home (#14)

1.0.0 / 2016-11-01

  • test: add testcase (#10)

0.0.8 / 2016-10-25

  • feat: wait 10ms to close app (#13)

0.0.7 / 2016-10-25

  • feat: should close agent when app close (#12)

0.0.6 / 2016-10-24

  • feat: cluster should wait process exit (#11)
  • docs:update readme (#9)
  • docs: update readme

0.0.5 / 2016-10-11

  • feat: pass opt to coffee (#7)

0.0.4 / 2016-08-16

  • fix: add eggPath for new egg (#5)
fengmk2
published 5.3.0 •

killagu
published 5.2.1 •

killagu
published 5.2.0 •

killagu
published 5.1.0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc