Skip to content

Add tests to the app#17

Open
goteamtim wants to merge 6 commits intoBillmike:masterfrom
goteamtim:master
Open

Add tests to the app#17
goteamtim wants to merge 6 commits intoBillmike:masterfrom
goteamtim:master

Conversation

@goteamtim
Copy link
Copy Markdown

Hey I created some basic tests to begin with in reference to #10. Take a look and see what you think. To run the tests you first need to npm install to get the new dependencies then type in mocha to the console to trigger the tests. All three should pass successfully when they are run.

Two basic tests to test that new users work and sending messages work.
Also need to figure out how to shut the server down after the tests complete.
Added the port in the server as a variable so we can output the port to the console so we know the address
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.

1 participant