diff --git a/index.js b/index.js index d78721a..8890873 100644 --- a/index.js +++ b/index.js @@ -48,4 +48,5 @@ app.listen(3000, () => { console.log('App listening on port 3000'); }); + module.exports = app; diff --git a/package.json b/package.json index 8ec07dd..3ca0855 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Teaching git flow and git conventional commit for milky way team3 [content here](https://github.com/boytur/git-flow-milkyway/wiki)\r test close issue", "main": "index.js", "scripts": { - "test": "jest", + "test": "jest --forceExit", "start": "nodemon index.js" }, "author": "",