Egg Unittest

本技能用于编写 EGG 应用的单元测试。覆盖 HTTP 接口测试、Service/DI 对象测试、Mock 数据模拟、BackgroundTask 和 EventBus 测试。使用 @eggjs/mock、app.httpRequest()、app.getEggObject()、mm() 等 API。

eggjs Updated
Picture from the README

File contents

eggjs/egg commit 7b041893da

Frequently asked questions

npx get-skill add eggjs/egg-unittest