chore: apply Biome cleanup
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { execFileSync, spawn, type ChildProcess } from "node:child_process"
|
||||
import { type ChildProcess, execFileSync, spawn } from "node:child_process"
|
||||
import process from "node:process"
|
||||
import {
|
||||
PostgreSqlContainer,
|
||||
|
||||
@@ -60,7 +60,9 @@ describe("assignment use-cases", () => {
|
||||
prisma.assignment.findUniqueOrThrow({
|
||||
where: { id: result.assignmentId },
|
||||
}),
|
||||
prisma.movement.findMany({ orderBy: [{ createdAt: "asc" }, { id: "asc" }] }),
|
||||
prisma.movement.findMany({
|
||||
orderBy: [{ createdAt: "asc" }, { id: "asc" }],
|
||||
}),
|
||||
])
|
||||
|
||||
expect(updatedItem.stock).toBe(3)
|
||||
@@ -138,7 +140,9 @@ describe("assignment use-cases", () => {
|
||||
prisma.assignment.findUniqueOrThrow({
|
||||
where: { id: created.assignmentId },
|
||||
}),
|
||||
prisma.movement.findMany({ orderBy: [{ createdAt: "asc" }, { id: "asc" }] }),
|
||||
prisma.movement.findMany({
|
||||
orderBy: [{ createdAt: "asc" }, { id: "asc" }],
|
||||
}),
|
||||
])
|
||||
|
||||
expect(updatedItem.stock).toBe(4)
|
||||
|
||||
Reference in New Issue
Block a user