diff --git a/docs/source/zh-cn/core/unittest.md b/docs/source/zh-cn/core/unittest.md index ba9f0d6ce3..998d6d9f0c 100644 --- a/docs/source/zh-cn/core/unittest.md +++ b/docs/source/zh-cn/core/unittest.md @@ -174,7 +174,7 @@ describe('test/controller/home.test.js', () => { ```js // test/controller/home.test.js -const { app, mock, assert } = require('egg/mock/bootstrap'); +const { app, mock, assert } = require('egg-mock/bootstrap'); describe('test/controller/home.test.js', () => { // test cases