style: fix linting issues met Prettier

This commit is contained in:
Lint Action 2025-05-18 11:41:17 +00:00
parent 1b41163064
commit 57da85e14a
3 changed files with 19 additions and 22 deletions

View file

@ -1,6 +1,6 @@
import {LearningPathNode} from "@dwengo-1/backend/dist/entities/content/learning-path-node.entity";
import {calculateProgress} from "../../src/utils/assignment-utils";
import {LearningPath} from "../../src/data-objects/learning-paths/learning-path";
import { LearningPathNode } from "@dwengo-1/backend/dist/entities/content/learning-path-node.entity";
import { calculateProgress } from "../../src/utils/assignment-utils";
import { LearningPath } from "../../src/data-objects/learning-paths/learning-path";
import { describe, it, expect } from "vitest";
describe("calculateProgress", () => {
@ -68,7 +68,6 @@ describe("calculateProgress", () => {
expect(calculateProgress(lp)).toBeCloseTo(66.666, 2);
});
it("should handle edge case where amountOfNodesLeft is negative", () => {
const lp = new LearningPath({
language: "en",