diff --git a/tests/test_routes.ts b/tests/test_routes.ts deleted file mode 100644 index 64bcd3a..0000000 --- a/tests/test_routes.ts +++ /dev/null @@ -1,22 +0,0 @@ -// import router from "../src/models/router.js"; -// import { BaseAction } from "../src/models/action.js"; - -// class TestAction extends BaseAction { -// message(): string { -// // this.request.body = "hello"; -// this.response.end("hello"); -// return "hello"; -// } -// } -// // const route = Route - -// router -// .menu("main") -// .start() -// .options([ -// { choice: "1", display: "hello", validation: /regex/, name: 'first' }, -// { choice: "2", action: TestAction, next_menu: "main", name: 'second' }, -// ]) -// .back("main"); - -// console.log(JSON.stringify(router, null, 2));