mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-07 13:15:59 +08:00
* feat: add egg and egg-mock * chore: remove disable, add typescript version * chore: add some doc, and change interface name to CamelCased
7 lines
139 B
TypeScript
7 lines
139 B
TypeScript
import * as mm from 'egg-mock';
|
|
|
|
const app = mm.app();
|
|
app.ready();
|
|
app.mockService('foo', 'bar', ['123']);
|
|
const ctx = app.mockContext();
|