feat(pages): add /application/[guildId]/[channelId]
(#4)
This commit is contained in:
15
cypress/fixtures/channels/[channelId]/messages/get.ts
Normal file
15
cypress/fixtures/channels/[channelId]/messages/get.ts
Normal file
@ -0,0 +1,15 @@
|
||||
import { Handler } from '../../../handler'
|
||||
import {
|
||||
messageExampleComplete,
|
||||
messageExampleComplete2
|
||||
} from '../../../messages/message'
|
||||
import { channelExample } from '../../channel'
|
||||
|
||||
export const getMessagesWithChannelIdHandler: Handler = {
|
||||
method: 'GET',
|
||||
url: `/channels/${channelExample.id}/messages`,
|
||||
response: {
|
||||
statusCode: 200,
|
||||
body: [messageExampleComplete, messageExampleComplete2]
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user