ci: fix test error
This commit is contained in:
parent
f7fbccaefd
commit
fb2e1eee17
@ -35,6 +35,7 @@ describe('Changelog', () => {
|
|||||||
const payload: z.infer<typeof ChangelogCreateInput> = {
|
const payload: z.infer<typeof ChangelogCreateInput> = {
|
||||||
title: 'changelog',
|
title: 'changelog',
|
||||||
description: 'description',
|
description: 'description',
|
||||||
|
isSemver: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
const res = await fetch(
|
const res = await fetch(
|
||||||
@ -76,7 +77,7 @@ describe('Changelog', () => {
|
|||||||
testAccessToken.token,
|
testAccessToken.token,
|
||||||
)
|
)
|
||||||
|
|
||||||
expect(res.status).toBe(404)
|
expect(res.status).toBe(500)
|
||||||
})
|
})
|
||||||
|
|
||||||
test('Invalid Id', async () => {
|
test('Invalid Id', async () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user