Skip to content

Instantly share code, notes, and snippets.

View Jesse-efe's full-sized avatar

Jesse Omoefe Jesse-efe

View GitHub Profile
@Jesse-efe
Jesse-efe / loginTest.js
Last active March 21, 2019 13:06
TDD test Spec
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)