Skip to content

Commit

Permalink
chore: frontend linting
Browse files Browse the repository at this point in the history
  • Loading branch information
EwoutV committed Apr 4, 2024
1 parent 314eaba commit 102da54
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 17 deletions.
1 change: 0 additions & 1 deletion frontend/src/test/unit/course_service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const {
getCourseByID,
getCourses,
getCoursesByStudent,

} = useCourses();

// "describe" bundles tests about 1 specific thing; here we're testing course
Expand Down
9 changes: 1 addition & 8 deletions frontend/src/test/unit/project_service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,7 @@
import { describe, it, expect } from 'vitest';
import { useProject } from '@/composables/services/project.service.ts';

const {
projects,
project,
getProjectByID,
getProjectsByCourse,
getProjectsByStudent,

} = useProject();
const { projects, project, getProjectByID, getProjectsByCourse, getProjectsByStudent } = useProject();

describe('project', (): void => {
it('gets project data by id', async () => {
Expand Down
8 changes: 1 addition & 7 deletions frontend/src/test/unit/structure_check.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@
import { describe, it, expect } from 'vitest';
import { useStructureCheck } from '@/composables/services/structure_check.service.ts';

const {
structureChecks,
structureCheck,
getStructureCheckByID,
getStructureCheckByProject,

} = useStructureCheck();
const { structureChecks, structureCheck, getStructureCheckByID, getStructureCheckByProject } = useStructureCheck();

describe('structureCheck', (): void => {
it('gets structure check data by id', async () => {
Expand Down
6 changes: 5 additions & 1 deletion frontend/src/views/courses/SearchCourseView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ onMounted(async () => {
<Accordion :active-index="[0]" multiple>
<AccordionTab :header="t('views.courses.search.search')">
<IconField iconPosition="left">
<InputText :placeholder="t('views.courses.search.placeholder')" v-model="filter.search" class="w-full" />
<InputText
:placeholder="t('views.courses.search.placeholder')"
v-model="filter.search"
class="w-full"
/>
<InputIcon class="pi pi-search"></InputIcon>
</IconField>
</AccordionTab>
Expand Down

0 comments on commit 102da54

Please sign in to comment.