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
363 B
TypeScript
Raw Normal View History

2022-08-31 21:44:33 +02:00
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: []
}
}
}