-
Notifications
You must be signed in to change notification settings - Fork 3
Add basic test with mocha, chai #75
base: master
Are you sure you want to change the base?
Conversation
eveninglily
commented
Mar 7, 2019
- Basic test of /auth/register endpoint
I have a few things I want to fix before merging this. Also, I'll restore the deleted package-lock.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks ready to merge once we fix the (very) small issues I commented on.
app/test/test.js
Outdated
|
||
const User = require('../server/models/User'); | ||
|
||
let chai = require('chai'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These should probably be const
app/test/test.js
Outdated
|
||
|
||
/** | ||
* Test the following in on scoop: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit - spelling: on
=> one
I'm not sure how to undo the horrendous things I seemed to have done to package-lock.json |