Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaSimonePorceddu authored and Mauro Erta committed Nov 30, 2022
1 parent ac79561 commit 30b00c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/svelte/src/morfeoAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function getElementName({ componentName, variant, state }: Style) {
elementName = `${elementName}-${state}`;
}

return elementName
return elementName;
}

function setAdditionalProps(
Expand Down
4 changes: 2 additions & 2 deletions packages/svelte/tests/morfeo.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const THEME: Theme = {
props: {
'data-test': 'additional prop',
},
states: {}
states: {},
},
},
},
Expand Down Expand Up @@ -73,7 +73,7 @@ describe('morfeo', () => {
morfeoStyle(element, {
componentName: 'Box',
variant: 'span',
state: 'danger'
state: 'danger',
});

expect(element.getAttribute('data-test')).toBe('additional prop');
Expand Down

0 comments on commit 30b00c5

Please sign in to comment.