@athenna/http
Version:
The Athenna Http server. Built on top of fastify.
21 lines (20 loc) • 610 B
TypeScript
/**
* @athenna/http
*
* (c) João Lenon <lenon@athenna.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import { TestRequest } from '#src/testing/plugins/request/TestRequest';
declare module '@japa/runner/core' {
interface TestContext {
request: TestRequest;
}
}
export * from '#src/testing/plugins/request/TestRequest';
export * from '#src/testing/plugins/request/TestResponse';
/**
* Request plugin registers the request macro to the test context.
*/
export declare function request(): () => void;