Skip to content

Commit

Permalink
test(ui-library): #985 small adjustments to tests (#988)
Browse files Browse the repository at this point in the history
  • Loading branch information
veilvokay authored Mar 7, 2024
1 parent 5f4c151 commit facbe76
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const sampleParams: BlrButtonGroupType = {

const testContent = BlrTextButtonRenderFunction({
label: 'Jaok',
theme: 'light',
theme: 'Light',
loading: false,
variant: 'primary',
disabled: false,
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-library/src/components/counter/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { querySelectorDeep } from 'query-selector-shadow-dom';

const sampleParams: BlrCounterType = {
theme: 'Light',
variant: 'default',
variant: 'neutral',
current: 3,
max: 100,
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const sampleParams: BlrFormCaptionType = {
icon: 'blr360',
variant: 'hint',
size: 'sm',
arialabel: 'Form Hint',
};

describe('blr-form-caption', () => {
Expand Down
2 changes: 0 additions & 2 deletions packages/ui-library/src/components/radio-group/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,12 @@ const sampleParams: BlrRadioGroupType = {
{ label: 'Option 2', value: 'option2', hintMessage: 'Hint 2', errorMessage: 'Error Message 2' },
{ label: 'Option 3', value: 'option3', hintMessage: 'Hint 3', errorMessage: 'Error Message 3' },
],
showLegend: true,
hasHint: true,
groupHintMessage: 'This is a sample hint message',
groupHintIcon: 'blrInfo',
hasError: false,
groupErrorMessage: '',
groupErrorIcon: undefined,
hideLabel: false,
};

describe('blr-radio-group', () => {
Expand Down

0 comments on commit facbe76

Please sign in to comment.