fix: lint

This commit is contained in:
Gabriellvl 2025-05-10 20:06:20 +02:00
parent 2d841e7955
commit 3a78710059
4 changed files with 25 additions and 42 deletions

View file

@ -1,16 +1,15 @@
import { setupTestApp } from '../setup-tests.js';
import { describe, it, expect, beforeAll, beforeEach, vi, Mock } from 'vitest';
import {
getSubmissionHandler,
getAllSubmissionsHandler,
deleteSubmissionHandler, createSubmissionHandler
} from '../../src/controllers/submissions.js';
import { getSubmissionHandler, getAllSubmissionsHandler } from '../../src/controllers/submissions.js';
import { Request, Response } from 'express';
import {NotFoundException} from "../../src/exceptions/not-found-exception";
import {getClass01, getClass02} from "../test_assets/classes/classes.testdata";
import { NotFoundException } from "../../src/exceptions/not-found-exception";
import { getClass02 } from "../test_assets/classes/classes.testdata";
function createRequestObject(hruid: string, submissionNumber: string) {
function createRequestObject(hruid: string, submissionNumber: string): {
query: { language: string; version: string };
params: { hruid: string; id: string }
} {
return {
params: {
hruid: hruid,