diff --git a/Makefile b/Makefile index d84bd9a..8f961ec 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ install: test: @NODE_ENV=test ./node_modules/mocha/bin/mocha \ - --harmony-generators \ + --harmony \ --reporter $(REPORTER) \ --timeout $(TIMEOUT) \ --require should \ diff --git a/test/support/server.js b/test/support/server.js index fa60bd4..eb83cc1 100644 --- a/test/support/server.js +++ b/test/support/server.js @@ -5,7 +5,7 @@ var http = require('http'); var session = require('koa-sess'); var githubAuth = require('../../'); -var app = koa(); +var app = new koa(); app.name = 'nae-web'; app.keys = ['key1', 'key2'];