mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00: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();
|