Skip to content

Commit

Permalink
test(sanity): clean up (remove duplicates and clean up button)
Browse files Browse the repository at this point in the history
  • Loading branch information
RitaDias committed Sep 9, 2024
1 parent 0676264 commit f477ad1
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ describe('ReleasesMenu', () => {
_type: 'release',
hue: 'red',
_id: 'f6b2c2cc-1732-4465-bfb3-dd205b5d78e9',
_id: 'summer-drop',
authorId: '',
},
]
Expand Down Expand Up @@ -195,7 +194,7 @@ describe('ReleasesMenu', () => {
})

it('should render actions when actions prop is provided', async () => {
const actions = <Button>Actions</Button>
const actions = <Button text="Actions" />

const wrapper = await createTestProvider()
render(
Expand All @@ -221,7 +220,6 @@ describe('ReleasesMenu', () => {
'mock-deleted-bundle': {
_id: 'mock-deleted-bundle',
_type: 'release',
_id: 'mock-deleted-bundle',
title: 'Mock Deleted Bundle',
} as BundleDocument,
},
Expand All @@ -247,7 +245,6 @@ describe('ReleasesMenu', () => {
'mock-deleted-bundle': {
_id: 'mock-deleted-bundle',
_type: 'release',
_id: 'mock-deleted-bundle',
title: 'Mock Deleted Bundle',
} as BundleDocument,
},
Expand All @@ -261,7 +258,6 @@ describe('ReleasesMenu', () => {
{
_id: 'mock-deleted-bundle',
_type: 'release',
_id: 'mock-deleted-bundle',
title: 'Mock Deleted Bundle',
} as BundleDocument,
]}
Expand Down

0 comments on commit f477ad1

Please sign in to comment.