ecomm/__tests__/routes/user.test.ts

10 lines
281 B
TypeScript
Raw Normal View History

2023-06-13 13:10:17 +00:00
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;