ecomm/__tests__/routes/user.test.ts
2023-06-13 16:10:17 +03:00

10 lines
No EOL
281 B
TypeScript

import express from 'express';
import { createUser, login, logout } from '../controllers/UserController.test';
const userRouter = express.Router();
userRouter.post('/', createUser);
userRouter.post('/login', login);
userRouter.post('/logout', logout);
export default userRouter;