test: add integration test

This commit is contained in:
Khaled Garbaya
2017-10-18 15:29:18 +02:00
committed by Benedikt Rötsch
parent 703a5e4d3a
commit d7654bb9bf
4 changed files with 48 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
/* global describe, test */
const app = require('../../app')
const request = require('supertest')
describe('Home page', () => {
test('it should render the landing page', () => {
return request(app).get('/').expect(200)
})
})