style: fix linting issues met Prettier
This commit is contained in:
parent
ac4ece29c7
commit
71f20526f1
15 changed files with 15 additions and 18 deletions
|
@ -1,7 +1,7 @@
|
|||
import { setupTestApp } from '../setup-tests.js';
|
||||
import { describe, it, expect, beforeAll, beforeEach, vi, Mock } from 'vitest';
|
||||
import { Request, Response } from 'express';
|
||||
import {createClassHandler, deleteClassHandler} from "../../src/controllers/classes";
|
||||
import { createClassHandler, deleteClassHandler } from '../../src/controllers/classes';
|
||||
|
||||
describe('Class controllers', () => {
|
||||
let req: Partial<Request>;
|
||||
|
@ -44,6 +44,4 @@ describe('Class controllers', () => {
|
|||
|
||||
expect(jsonMock).toHaveBeenCalledWith(expect.objectContaining({ class: expect.anything() }));
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
|
|
@ -21,7 +21,7 @@ import { BadRequestException } from '../../src/exceptions/bad-request-exception.
|
|||
import { ConflictException } from '../../src/exceptions/conflict-exception.js';
|
||||
import { EntityAlreadyExistsException } from '../../src/exceptions/entity-already-exists-exception.js';
|
||||
import { StudentDTO } from '@dwengo-1/common/interfaces/student';
|
||||
import {getClass02} from "../test_assets/classes/classes.testdata";
|
||||
import { getClass02 } from '../test_assets/classes/classes.testdata';
|
||||
|
||||
describe('Student controllers', () => {
|
||||
let req: Partial<Request>;
|
||||
|
|
|
@ -12,7 +12,7 @@ import { TeacherInvitationData } from '@dwengo-1/common/interfaces/teacher-invit
|
|||
import { getClassHandler } from '../../src/controllers/classes';
|
||||
import { BadRequestException } from '../../src/exceptions/bad-request-exception';
|
||||
import { ClassStatus } from '@dwengo-1/common/util/class-join-request';
|
||||
import {getClass02} from "../test_assets/classes/classes.testdata";
|
||||
import { getClass02 } from '../test_assets/classes/classes.testdata';
|
||||
|
||||
describe('Teacher controllers', () => {
|
||||
let req: Partial<Request>;
|
||||
|
|
|
@ -17,7 +17,7 @@ import { EntityAlreadyExistsException } from '../../src/exceptions/entity-alread
|
|||
import { getStudentRequestsHandler } from '../../src/controllers/students.js';
|
||||
import { TeacherDTO } from '@dwengo-1/common/interfaces/teacher';
|
||||
import { getClassHandler } from '../../src/controllers/classes';
|
||||
import {getClass02} from "../test_assets/classes/classes.testdata";
|
||||
import { getClass02 } from '../test_assets/classes/classes.testdata';
|
||||
|
||||
describe('Teacher controllers', () => {
|
||||
let req: Partial<Request>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue