Skip to content

Instantly share code, notes, and snippets.

View frankhn's full-sized avatar
🎗️
Ready!💫

frankhn frankhn

🎗️
Ready!💫
View GitHub Profile
import chai from ('chai').should;
import server from '../../app';
import chaiHttp from 'chai-http';
chai.use(chaiHttp);
describe('it should be able to apdate the article', () => {
it('should return the 201 status for success update', (done) => {
const article = {
title:"kacyiru",