Skip to content

Commit

Permalink
fix: error test
Browse files Browse the repository at this point in the history
  • Loading branch information
book000 committed Jul 19, 2024
1 parent 781ed3d commit ed065aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tests/get-embed.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ describe('Get embed', () => {
mockInstance.mockRestore()

if (
response.body.includes('An error occurred: Method not implemented.')
response.body.includes('Method not implemented') &&
response.statusCode === 406
) {
return
}
Expand Down

0 comments on commit ed065aa

Please sign in to comment.