MCPcopy Index your code
hub / github.com/ParallelTask/dinoloop / register

Function register

tests/integration/error.controller.spec.ts:46–50  ·  view source on GitHub ↗
(dino: Dino)

Source from the content-addressed store, hash-verified

44 const baseRoute = '/api/test';
45
46 function register(dino: Dino): void {
47 dino.registerController(TestController);
48 dino.registerApplicationError(AppError);
49 dino.bind();
50 }
51
52 // Verifies request, response and err property is mapped to dino
53 it('/get_throws_error_returns_500_and_data', done => {

Callers 1

Calls 3

registerControllerMethod · 0.65
bindMethod · 0.65

Tested by

no test coverage detected