Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Ziółkowski authored and Piotr Ziółkowski committed May 28, 2024
1 parent 913ac2c commit 243354d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/js/components/Cards/Card/Card.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { shallowMount } from '@vue/test-utils';

import Card from './Card.vue';
import { CARD_BORDER_COLORS, CARD_BORDER_POSITIONS, CARD_BORDER_SIZES } from './Card.consts';
import { LOADING_BAR_COLORS } from '../../LoadingBar';

describe('Card', () => {
const createComponent = ({
Expand All @@ -14,6 +16,13 @@ describe('Card', () => {
props: {
headerHasPadding,
dividerUnderHeader,
hasBorder: false,
borderSize: CARD_BORDER_SIZES.MEDIUM,
borderColor: CARD_BORDER_COLORS.NEUTRAL_HEAVY,
borderPosition: CARD_BORDER_POSITIONS.TOP,
hasLoadingBar: false,
loadingBarColor: LOADING_BAR_COLORS.NEUTRAL_HEAVY,
loadingBarTime: '0',
},
slots: {
...(headerSlot !== '' && { header: headerSlot }),
Expand Down

0 comments on commit 243354d

Please sign in to comment.