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/guilds/post.ts
2022-08-31 21:44:33 +02:00

20 lines
457 B
TypeScript

import type { Handler } from '../handler'
import { guildExample } from './guild'
import { channelExample } from '../channels/channel'
import { memberExampleComplete } from '../members/member'
export const postGuildsHandler: Handler = {
method: 'POST',
url: '/guilds',
response: {
statusCode: 201,
body: {
guild: {
...guildExample,
channels: [channelExample],
members: [memberExampleComplete]
}
}
}
}