2 Star 1 Fork 0

fengmk2 / mm

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
History.md 2.15 KB
一键复制 编辑 原始数据 按行查看 历史
fengmk2 提交于 2014-03-14 14:22 . Release 0.2.1

0.2.1 / 2014-03-14

  • if coveralls crash, dont break the test pass
  • fix http request mock not work on 0.11.12 and no more test on 0.8.x

0.2.0 / 2014-02-21

  • support thunkify cnpm/cnpmjs.org#196

0.1.8 / 2013-12-27

  • fix Node 0.11 broken. (@alsotang)
  • fix test cases

0.1.7 / 2013-11-20

  • http.request mock support mm.http.request({host: $host, url: $url})
  • add npm image

0.1.6 / 2013-07-04

0.1.5 / 2013-07-03

  • hot fixed #5 mock same method twices restore fails bug
  • add test for fs.readFileSync. fixed #5
  • support coveralls

0.1.4 / 2013-05-21

  • use blanket instead of jscover
  • fixed spawn test fail on node 0.6
  • support emtpy error

0.1.3 / 2013-05-05

  • Merge pull request #3 from dead-horse/support-spawn
  • do not emit when null
  • add support for spawn

0.1.2 / 2013-04-20

  • fix mm.datas
  • update travis

0.1.1 / 2013-04-15

  • update muk to 0.3.0+

0.1.0 / 2012-12-01

  • fixed restore not effect on http(s)

0.0.9 / 2012-11-28

  • add request() mock statusCode

0.0.8 / 2012-11-27

  • add mm.datas(), mm.data(), mm.empty() mock methods

0.0.7 / 2012-11-26

  • try to find callback in arguments
  • fixed CERT_HAS_EXPIRED with rejectUnauthorized = false

0.0.6 / 2012-11-21

  • fix http.request() twice bug; add res.setEncoding method

0.0.5 / 2012-11-21

  • fixed #1 support mm.https.request mock helpers

0.0.4 / 2012-11-13

  • add mm() just like muk() does

0.0.3 / 2012-11-06

  • add req.abort() for mock request object

0.0.2 / 2012-11-06

  • when mock response error, must emit req error not res error event.
  • replace logo

0.0.1 / 2012-11-04

  • add mock http.request() and http.requestError()
  • add mm.error() impl
  • Release 0.0.1
JavaScript
1
https://gitee.com/fengmk2/mm.git
git@gitee.com:fengmk2/mm.git
fengmk2
mm
mm
master

搜索帮助