rewrite unit tests

This commit is contained in:
Nzix
2018-09-25 19:49:10 +08:00
parent a26ab583f3
commit 0d373be689
11 changed files with 123 additions and 165 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ fs.readdirSync(path.resolve(__dirname, 'router'))
const port = process.env.PORT || 3000
app.listen(port, () => {
app.server = app.listen(port, () => {
console.log(`server running @ http://localhost:${port}`)
})