Skip to content

Commit

Permalink
fix import (#507)
Browse files Browse the repository at this point in the history
  • Loading branch information
vittoriaThinkst authored Jul 2, 2024
1 parent e21c78a commit 35e2e21
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions frontend_vue/src/components/ui/CardToken.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { describe, it, expect, afterEach, vi } from 'vitest';
import { library } from '@fortawesome/fontawesome-svg-core';
import { faArrowRight, faQuestion } from '@fortawesome/free-solid-svg-icons';
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
import BaseButtonHowToDeploy from '@/components/base/ButtonHowToDeploy.vue';
import ButtonHowToDeploy from './ButtonHowToDeploy.vue';
import CardToken from './CardToken.vue';
import BaseSkeletonLoader from '../base/BaseSkeletonLoader.vue';

Expand Down Expand Up @@ -34,7 +34,7 @@ describe('BaseCardToken.vue', () => {
const wrapper = mount(CardToken, {
props: { title, description, logoImgUrl, selectedToken },
global: {
stubs: { FontAwesomeIcon, BaseButtonHowToDeploy, BaseSkeletonLoader },
stubs: { FontAwesomeIcon, ButtonHowToDeploy, BaseSkeletonLoader },
},
});

Expand All @@ -50,9 +50,9 @@ describe('BaseCardToken.vue', () => {
const logoImgUrl = 'aws_keys.png';

const wrapper = mount(CardToken, {
props: { title, description, selectedToken, logoImgUrl},
props: { title, description, selectedToken, logoImgUrl },
global: {
stubs: { FontAwesomeIcon, BaseButtonHowToDeploy, BaseSkeletonLoader },
stubs: { FontAwesomeIcon, ButtonHowToDeploy, BaseSkeletonLoader },
},
});

Expand All @@ -69,7 +69,7 @@ describe('BaseCardToken.vue', () => {
const wrapper = mount(CardToken, {
props: { title, description, logoImgUrl, selectedToken },
global: {
stubs: { FontAwesomeIcon, BaseButtonHowToDeploy, BaseSkeletonLoader },
stubs: { FontAwesomeIcon, ButtonHowToDeploy, BaseSkeletonLoader },
},
});

Expand Down

0 comments on commit 35e2e21

Please sign in to comment.