diff options
author | Alan Pearce | 2017-06-24 16:34:47 +0200 |
---|---|---|
committer | Alan Pearce | 2017-06-24 16:34:47 +0200 |
commit | bdd6610208e9fe5971e6aed4378598092f2b9b5a (patch) | |
tree | dcb9d6c9ad8f3d91ca93106dce980e5a6012d517 /test | |
parent | 6b02186505264dc5a05a74bce1f9dcc3f91d08e1 (diff) | |
download | homestead-bdd6610208e9fe5971e6aed4378598092f2b9b5a.tar.lz homestead-bdd6610208e9fe5971e6aed4378598092f2b9b5a.tar.zst homestead-bdd6610208e9fe5971e6aed4378598092f2b9b5a.zip |
refactor: separate app, responders
Diffstat (limited to 'test')
-rw-r--r-- | test/app.test.js (renamed from test/index.test.js) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/index.test.js b/test/app.test.js index 769097f..04596fa 100644 --- a/test/index.test.js +++ b/test/app.test.js @@ -5,7 +5,7 @@ const request = require('supertest') const config = require('../src/modules/config.js') config.posts.folder = path.resolve(__dirname, './data/') -const app = require('../src/index.js') +const app = require('../src/app.js') test('homepage', t => { return request(app.listen()) |