From 2fe89029c31ece5f077d775c424009a7c2866748 Mon Sep 17 00:00:00 2001 From: liuyi Date: Sun, 15 Jun 2025 14:14:03 +0800 Subject: [PATCH] pnpm update --- test/all-case.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/all-case.test.ts b/test/all-case.test.ts index 671b41f..75a42b0 100644 --- a/test/all-case.test.ts +++ b/test/all-case.test.ts @@ -3,7 +3,6 @@ import { describe } from 'node:test'; import { NestFastifyApplication } from '@nestjs/platform-fastify'; import { Test, TestingModule } from '@nestjs/testing'; -import { useContainer } from 'class-validator'; import { isNil, pick } from 'lodash'; import { DataSource } from 'typeorm'; @@ -82,7 +81,7 @@ describe('nest app test', () => { categories = await addCategory(app, categoriesData); const ids = categories.map((item) => item.id); categories = []; - Promise.all( + await Promise.all( ids.map(async (id) => { const result = await app.inject({ method: 'GET',