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/channels/[channelId]/get.ts

25 lines
525 B
TypeScript
Raw Permalink Normal View History

import type { 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,
},
},
}