Skip to content

Unit tests for express#7

Merged
jonman merged 5 commits intomasterfrom
nick/unit-tests
Nov 12, 2014
Merged

Unit tests for express#7
jonman merged 5 commits intomasterfrom
nick/unit-tests

Conversation

@nwhite89
Copy link
Member

  • Splits the header & body check into different files within the libs/ folder
  • Adds unit tests around the header check ensuring that:
    • statusCode
    • Content-Type
  • Adds unit tests around the body check ensuring that it can deal with:
    • Arrays
    • Objects
    • Strings

Starts to address #5

jonman added a commit that referenced this pull request Nov 12, 2014
@jonman jonman merged commit 0469035 into master Nov 12, 2014
@jonman jonman deleted the nick/unit-tests branch November 12, 2014 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants