fix unit test

This commit is contained in:
jysperm
2014-11-18 11:04:58 +08:00
parent 6eb7dc6895
commit 38b09a191d
3 changed files with 6 additions and 12 deletions

View File

@@ -132,7 +132,7 @@ app.express.get '/', (req, res) ->
app.express.use harp.mount './core/static'
unless module.parent
exports.start = _.once ->
app.express.listen config.web.listen, ->
app.started = true
@@ -143,3 +143,6 @@ unless module.parent
hook.action()
app.logger.log "RootPanel start at #{config.web.listen}"
unless module.parent
exports.start()