diff --git a/src/components/Configuration/ConfigurationSteps/Experience.vue b/src/components/Configuration/ConfigurationSteps/Experience.vue index ae4e5b2ef104e3963229dcb8ffb1e58764b0d109..c750f58d2c8c474b8488ae1770cc84b1cf055c7c 100644 --- a/src/components/Configuration/ConfigurationSteps/Experience.vue +++ b/src/components/Configuration/ConfigurationSteps/Experience.vue @@ -12,10 +12,10 @@ emit('changeRouterEvent', '/experience') // Declaration of reactive variables for the form and radio buttons const formRef = ref() -const beginnerRef = ref('') -const someExperienceRef = ref('') -const expertRef = ref('') -let errorMsg = ref(''); +const beginnerRef = ref() +const someExperienceRef = ref() +const expertRef = ref() +let errorMsg = ref(); /** * Validates the experience form radio buttons and updates the commitment choice in the store. diff --git a/src/components/Exceptions/ErrorBox.vue b/src/components/Exceptions/ErrorBox.vue index d73c8b5feea6dd4e35bf86bb84ea042cce6081d5..5dc012e672ae7ef555ff45c74107da29f71838a4 100644 --- a/src/components/Exceptions/ErrorBox.vue +++ b/src/components/Exceptions/ErrorBox.vue @@ -44,7 +44,7 @@ export default defineComponent({ left: 50%; transform: translate(-50%, 0); width: min(100%, 700px); - background-color: var(--red-color); + background-color: red ; /*var(--red-color);*/ padding: 7px; border-radius: 5px; z-index: 1000; diff --git a/src/components/LeaderboardComponents/__tests__/Leaderboard.spec.ts b/src/components/LeaderboardComponents/__tests__/Leaderboard.spec.ts index 1f069a058b885113e8e7f86f97834b561d90d2a9..32852c07dca3907e0f1d48e0e069c74e474904a4 100644 --- a/src/components/LeaderboardComponents/__tests__/Leaderboard.spec.ts +++ b/src/components/LeaderboardComponents/__tests__/Leaderboard.spec.ts @@ -7,7 +7,9 @@ import { useUserInfoStore } from '@/stores/UserStore'; import router from '@/router/index'; describe('Leaderboard', () => { - let wrapper, store, mockRouter; + let wrapper : any + let store : any + let mockRouter : any const leaderboard = [ { user: { id: 1, firstName: 'Alice', email: 'alice@example.com' }, rank: 1, score: 50 },