This file contains hidden or 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 '../source/app'; | |
const { expect } = chai; | |
chai.use(chaiHttp); | |
describe('/api/v1/auth/login', () => { | |
it('should not login with invalid email', (done) => { | |
chai.request(app) |