Skip to content

Commit

Permalink
tests: update mock data for MUI options and HTML5 options
Browse files Browse the repository at this point in the history
  • Loading branch information
Iogsotot committed Aug 14, 2024
1 parent 9ce565b commit 2c60027
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/__tests__/generationClassesMap.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ const optionsMUI = [
'Breadcrumbs',
'Button',
'ButtonGroup',
'Card',
'Checkbox',
'Chip',
'Dialog',
'Drawer',
'Link',
'List',
'Menu',
'Modal',
'ProgressBar',
'RadioButtons',
'Select',
Expand All @@ -37,6 +39,7 @@ const optionsHTML5 = [
'DateTimeSelector',
'Dropdown',
'FileInput',
'Form',
'Label',
'Link',
'MultiSelector',
Expand Down Expand Up @@ -74,11 +77,11 @@ describe('Get JDI class by predicted label', () => {
expect(getJdiClassName(undefined, ElementLibrary.MUI)).toBe('UIElement (undefined)');
});

test('get types', () => {
test('get types MUI', () => {
expect(getTypesMenuOptions(ElementLibrary.MUI)).toStrictEqual(optionsMUI);
});

test('get types', () => {
test('get types HTML5', () => {
expect(getTypesMenuOptions(ElementLibrary.HTML5)).toStrictEqual(optionsHTML5);
});
});

0 comments on commit 2c60027

Please sign in to comment.