changelogs.md


node-modules/mm

Repository  -  API  -  Source

2.4.1

August 27, 2018

fixes

2.4.0

August 8, 2018

others

2.3.0

August 7, 2018

features

2.2.2

July 12, 2018

fixes

2.2.1

July 11, 2018

fixes

2.2.0

September 7, 2017

features

others

2.1.1

September 6, 2017

fixes

others

2.1.0

January 25, 2017
  • deps: use muk-prop instead of muk (#30)

2.0.1

January 22, 2017
  • fix: Only restore the http/https request when used.

2.0.0

July 31, 2016
  • feat: upgrade dependencies (#29)

1.5.1

July 21, 2016
  • fix: keep status code (#28)

1.5.0

June 13, 2016
  • feat: export isMocked (#27)

1.4.0

June 12, 2016
  • deps: upgrade muk (#26)
    • feat: remove EventEmitter from 'event' module

1.3.5

September 29, 2015
  • fix: should support mock multi env

1.3.4

September 24, 2015
  • test: use codecov.io
    • feat: support mock process.env.KEY

1.3.3

September 17, 2015
  • deps: upgrade muk to 0.4.0 to support mock getter

1.3.2

September 17, 2015
  • fix: deps muk 0.3.2

1.3.1

August 31, 2015
  • hotfix: fix mm.error in es6

1.3.0

August 22, 2015
  • readme: add sync methods and error properties
    • feat: mock error support props
    • chore: use npm scripts

1.2.0

August 16, 2015
  • feat(sync): add sync mock methods

1.1.0

May 8, 2015
  • feat: support promise

1.0.1

October 30, 2014
  • still thunkify the methods

1.0.0

October 30, 2014
  • docs(readme): add badges
    • feat(error): support mock error on generator function
    • feat(data): support mock generator function

0.2.1

March 14, 2014
  • 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

February 21, 2014
  • support thunkify cnpm/cnpmjs.org#196

0.1.8

December 27, 2013
  • fix Node 0.11 broken. (@alsotang)
    • fix test cases

0.1.7

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

0.1.6

July 4, 2013

0.1.5

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

0.1.4

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

0.1.3

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

0.1.2

April 20, 2013
  • fix mm.datas
    • update travis

0.1.1

April 15, 2013
  • update muk to 0.3.0+

0.1.0

December 1, 2012
  • fixed restore not effect on http(s)

0.0.9

November 28, 2012
  • add request() mock statusCode

0.0.8

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

0.0.7

November 26, 2012
  • try to find callback in arguments
    • fixed CERT_HAS_EXPIRED with rejectUnauthorized = false

0.0.6

November 21, 2012
  • fix http.request() twice bug; add res.setEncoding method

0.0.5

November 21, 2012
  • fixed #1 support mm.https.request mock helpers

0.0.4

November 13, 2012
  • add mm() just like muk() does

0.0.3

November 6, 2012
  • add req.abort() for mock request object

0.0.2

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

0.0.1

November 4, 2012
  • add mock http.request() and http.requestError()
    • add mm.error() impl
    • Release 0.0.1