style: fix linting issues met Prettier
This commit is contained in:
parent
1b41163064
commit
57da85e14a
3 changed files with 19 additions and 22 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue