This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
website/cypress/fixtures/users/[userId]/get.ts

18 lines
367 B
TypeScript

import type { Handler } from "../../handler"
import { userExample, userSettingsExample } from "../user"
export const getUserByIdHandler: Handler = {
method: "GET",
url: `/users/${userExample.id}`,
response: {
statusCode: 200,
body: {
user: {
...userExample,
settings: userSettingsExample,
},
guilds: [],
},
},
}