mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-02 07:40:28 +00:00
random user
This commit is contained in:
parent
76eb5d6925
commit
4785df81d4
1 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,5 @@
|
|||
import { beforeAll, expect } from "vitest";
|
||||
import { faker } from "@faker-js/faker";
|
||||
import { UserClient } from "../user";
|
||||
import { factories } from "./factories";
|
||||
|
||||
|
@ -15,9 +16,9 @@ export async function sharedUserClient(): Promise<UserClient> {
|
|||
return factories.client.user(cache.token);
|
||||
}
|
||||
const testUser = {
|
||||
email: "__test__@__test__.com",
|
||||
name: "__test__",
|
||||
password: "__test__",
|
||||
email: faker.internet.email(),
|
||||
name: faker.person.fullName(),
|
||||
password: faker.internet.password(),
|
||||
token: "",
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue