Skip to content

Releases: eugef/node-mocks-http

v1.6.6

09 Feb 12:22
Compare
Choose a tag to compare
1.6.6

Release 1.5.4

14 Sep 04:43
Compare
Choose a tag to compare

Bug fix release

Release 1.4.3

03 Jun 04:18
Compare
Choose a tag to compare

Fix

  • Emitting send and end events at json call, @tima, via ae6c785

Update

Remove

Release 1.4.2

30 Apr 03:03
Compare
Choose a tag to compare

Added

  • Docs - api methods and options, @JohnnyEstilles

Fixed

  • mockResponse - expose _headers (emulating OutgoingMessage()), PR #60, @jaslo

Release 1.4.1

14 Apr 12:28
Compare
Choose a tag to compare

Fixed

  • mockRequest - fixed headers via options should be case insensitive, PR #57, @antonmos
  • Docs - fixed test suite running instructions, PR #57, @antonmos

Release 1.4.0

11 Apr 16:06
Compare
Choose a tag to compare

Added

Updated

  • Unit Tests - existing tests for mockRequest to use mocha, @JohnnyEstilles
  • Unit Tests - existing tests for mockResponse to use mocha, @JohnnyEstilles
  • Build Tools - travis-ci configuration to use gulp tasks, @JohnnyEstilles
  • Build Tools - travis-ci configuration to send coverage to code climate, @JohnnyEstilles

Removed

  • Unit Tests - legacy tests for mockRequest, @JohnnyEstilles
  • Unit Tests - legacy tests for mockResponse, @JohnnyEstilles
  • Build Tools - legacy task runner, @JohnnyEstilles
  • Build Tools - [email protected] dependency, @JohnnyEstilles
  • Build Tools - node-testify-errors dependency, @JohnnyEstilles

Release 1.3.0

04 Apr 22:25
Compare
Choose a tag to compare

Added

  • Docs - Gitter badge to README.md, @JohnnyEstilles
  • Docs - Coding Style/Convention Rules (CODING_RULES.md), via PR #51, @JohnnyEstilles
  • mockResponse - .sendStatus(), via PR #48, @JohnnyEstilles
  • Docs - code of conduct (CODE_OF_CONDUCT.md), @JohnnyEstilles
  • mockRequest - .originalUrl, via PR #43, @JohnnyEstilles
  • mockResponse - .type(), via PR #42, @JohnnyEstilles
  • Build Tools - Travis-CI, via PR #41, @JohnnyEstilles

Updated

  • Build Tools - updated ESLint to 0.17.1, @JohnnyEstilles
  • Build Tools - replaced JSHint with ESLint, via PR #46, @JohnnyEstilles
  • Docs - updated CONTRIBUTING.md, @JohnnyEstilles

Release 1.2.7

24 Mar 07:15
Compare
Choose a tag to compare

Added

  • mockRequest - ability to set .signedCookies via options, @JohnnyEstilles
  • mockRequest - ability to set signed cookies via ._setSignedCookiesVariable(), @JohnnyEstilles
  • mockRequest - unit tests to validate fix, @JohnnyEstilles

Fixed

  • mockRequest - .session should default to undefined, @JohnnyEstilles
  • mockRequest - ensure .session is an object before setting variable with ._setSessionVariable(), @JohnnyEstilles

Release 1.2.6

19 Mar 11:58
Compare
Choose a tag to compare

Fixed

  • mockRequest - .header() doesn't handle the Referrer header field edge-case, via PR #50, @JohnnyEstilles

Release 1.2.5

08 Mar 23:55
Compare
Choose a tag to compare

Added

Fixed

  • mockResponse - .set() works like Express when passed an object, via PR #33, @gmaclennan
  • mockResponse - set .statusCode default to 200, via PR #38, @JohnnyEstilles