2
2
mirror of https://github.com/Thream/website.git synced 2024-07-21 09:28:32 +02:00
website/cypress/fixtures/channels/[channelId]/get.ts

25 lines
514 B
TypeScript
Raw Normal View History

import { Handler } from '../../handler'
import { channelExample, channelExample2 } from '../channel'
export const getChannelWithChannelIdHandler: Handler = {
method: 'GET',
url: `/channels/${channelExample.id}`,
response: {
statusCode: 200,
body: {
channel: channelExample
}
}
}
export const getChannelWithChannelIdHandler2: Handler = {
method: 'GET',
url: `/channels/${channelExample2.id}`,
response: {
statusCode: 200,
body: {
channel: channelExample2
}
}
}