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 expect from 'expect'; | |
import request from 'supertest'; | |
import app from './../app'; | |
// Test for creating an article | |
describe ('POST api/articles', () => { | |
const article = { | |
title: 'the title', | |
body: '', |