Skip to content

Commit

Permalink
Greening
Browse files Browse the repository at this point in the history
  • Loading branch information
jbosse committed Jul 10, 2024
1 parent 7f7e4a9 commit 4981656
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/planview-client.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ describe('createCase', () => {
const result = await planviewClient.createCard(boardId, laneId, typeId, title, customId, pr_url)

expect(result.success).toEqual(false)
expect(result.result).toBe(invalidResponse)
expect(result.data).toBe(invalidResponse.data)
})

it('returns an error if the response is not 201', async () => {
Expand All @@ -104,7 +104,7 @@ describe('createCase', () => {
const result = await planviewClient.createCard(boardId, laneId, typeId, title, customId, pr_url)

expect(result.success).toEqual(false)
expect(result.result).toBe(invalidResponse)
expect(result.data).toBe(invalidResponse.data)
})

it('returns an error if there is an eunexpected error', async () => {
Expand Down

0 comments on commit 4981656

Please sign in to comment.