From b123b618171fd7f2d10134bcb7e8f9f28ff5a033 Mon Sep 17 00:00:00 2001 From: zhangdianpeng Date: Tue, 11 Dec 2018 16:14:16 +0800 Subject: [PATCH] chore: resolve EggApplication is not a Class (#186) --- benchmark/middleware/start.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/middleware/start.js b/benchmark/middleware/start.js index dbe88259..a5ac89c5 100644 --- a/benchmark/middleware/start.js +++ b/benchmark/middleware/start.js @@ -1,6 +1,6 @@ 'use strict'; -const EggApplication = require('../../test/fixtures/egg'); +const EggApplication = require('../../test/fixtures/egg').Application; const app = new EggApplication({ baseDir: __dirname,