This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import chai from 'chai'; | |
import chaiHttp from 'chai-http'; | |
import app from '../src/app'; | |
describe('APP', () => { | |
it("it should'nt allow improper input fileds", (done) => { | |
const signup = { | |
username: 'tunde', | |
password: '', | |
email: '[email protected]', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const users = [ | |
{ | |
name: "matt sanders", | |
rank: 5 | |
}, | |
{ | |
name: "winifred bony", | |
rank: 2 | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const users = [ | |
{ | |
name: "matt sanders", | |
rank: 5 | |
}, | |
{ | |
name: "winifred bony", | |
rank: 2 | |
}, | |
{ |