test: add integration test
This commit is contained in:
committed by
Benedikt Rötsch
parent
703a5e4d3a
commit
d7654bb9bf
9
test/integration/index.test.js
Normal file
9
test/integration/index.test.js
Normal 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)
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user