@n1k1t/mock-server
Version:
The ultimate toolkit to intercept, transform, and simulate HTTP/WS traffic with type-safe expectations
9 lines • 330 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const models_1 = require("../models");
exports.default = models_1.EndpointFactory
.build()
.http({ method: 'GET', path: '/ping' })
.io({ path: 'ping' })
.compile(({ reply }) => reply.ok('pong'));
//# sourceMappingURL=ping.endpoint.js.map