Skip to content

Commit

Permalink
test(test): add test case for tag owner management
Browse files Browse the repository at this point in the history
  • Loading branch information
devformatters authored and Zeck Li committed Aug 27, 2020
1 parent e980ef9 commit 26bf3e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/types/__test__/tag.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,9 @@ describe('manage tag', () => {
})
const mergeTagId = mergeResult?.data?.mergeTags?.id
expect(mergeResult?.data?.mergeTags?.content).toBe(mergeContent)
expect(mergeResult?.data?.mergeTags?.owner?.id).toBe(toGlobalId({ type: 'User', id: 6 }))
expect(mergeResult?.data?.mergeTags?.owner?.id).toBe(
toGlobalId({ type: 'User', id: 6 })
)

// delete
const deleteResult = await mutate({
Expand Down

0 comments on commit 26bf3e7

Please sign in to comment.