diff --git a/tests/unit/design-system/components/menu/Menu.spec.jsx b/tests/unit/design-system/components/menu/Menu.spec.jsx
index 39ee32eba..35773880c 100644
--- a/tests/unit/design-system/components/menu/Menu.spec.jsx
+++ b/tests/unit/design-system/components/menu/Menu.spec.jsx
@@ -7,6 +7,31 @@ const resourcesMenuItems = [
{ title: 'Attachment' }
]
+const resourcesMenuItemsWithCustomArgs = [
+ { title: 'Lesson', defaultOnItemClickArgs: { path: '/lesson' } }
+]
+
+const resourcesMenuItemsWithNestedItems = [
+ { title: 'Lesson', nestedMenuItems: [{ title: 'Art' }, { title: 'Math' }] }
+]
+
+const resourcesMenuItemsWithAdditionalInfo = [
+ { title: 'Lesson', additionalInfo: 'This is a lesson' }
+]
+
+const circleIcon = (
+
+)
+
+const resourcesMenuItemsWithIcon = [{ title: 'Lesson', graphics: circleIcon }]
+
const noItemsCustomMessage = 'No items available.'
describe('Menu Component', () => {
@@ -16,7 +41,6 @@ describe('Menu Component', () => {
anchorEl={document.createElement('div')}
setAnchorEl={() => {}}
menuItems={resourcesMenuItems}
- toggledItemsTitles={[]}
/>
)
@@ -25,7 +49,7 @@ describe('Menu Component', () => {
expect(screen.getByText('Attachment')).toBeInTheDocument()
})
- test('should remove item when removal is enabled', async () => {
+ test('should remove item when removal is enabled', () => {
const { getByText } = render(