feat: [back] basic testing libraries installed

This commit is contained in:
2025-07-14 23:26:23 +02:00
parent 88150c2e64
commit 312353832c
4 changed files with 1214 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import UsersService from "../users.service";
import { Role, User } from "../users.types";
const user_list_mock: User[] = [
{
id: 1,
username: "test",
password: "asdf",
roles: [Role.Admin],
picture: "",
created_at: "now",
},
];
describe("users service", () => {
const usersService = new UsersService();
it("returns all users", () => {});
});