style: 统一全仓代码格式
This commit is contained in:
1 parent
d811478d0f
commit
8033cabff9
30 files changed
+1183
-187
No files matched your search
@@ -90,7 +90,10 @@ test("订单状态只能按定义的状态机流转", async () => {
|
||||
},
|
||||
});
|
||||
const bookings = new BookingService(prisma);
|
||||
assert.equal((await bookings.updateStatus(brandId, "booking-1", "contacting")).status, "contacting");
|
||||
assert.equal(
|
||||
(await bookings.updateStatus(brandId, "booking-1", "contacting")).status,
|
||||
"contacting",
|
||||
);
|
||||
await assert.rejects(
|
||||
() => bookings.updateStatus(brandId, "booking-1", "completed"),
|
||||
(error: unknown) => error instanceof BadRequestException,
|
||||
|
||||
Reference in new issue
Block a user