From ec73791ae40d2764d6fab432b2f63681f5f08108 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Allen=20Zhang=20=28=E5=BC=A0=E6=B6=9B=29?= Date: Mon, 4 Nov 2024 20:05:00 +0800 Subject: [PATCH] chore: repo overall update --- .../src/apps/collect/valids/is-valid-coverage.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/canyon-backend/src/apps/collect/valids/is-valid-coverage.ts b/packages/canyon-backend/src/apps/collect/valids/is-valid-coverage.ts index 8a9162dd..b9078350 100755 --- a/packages/canyon-backend/src/apps/collect/valids/is-valid-coverage.ts +++ b/packages/canyon-backend/src/apps/collect/valids/is-valid-coverage.ts @@ -9,7 +9,7 @@ function isValidCoverage(coverage) { } // 检查是否有必须的属性 const requiredProperties = [ - "path", + // "path", // "statementMap", // "fnMap", // "branchMap", @@ -24,7 +24,7 @@ function isValidCoverage(coverage) { } // 检查属性的类型和结构 if ( - typeof coverage.path !== "string" || + // typeof coverage.path !== "string" || // typeof coverage.statementMap !== "object" || // typeof coverage.fnMap !== "object" || // typeof coverage.branchMap !== "object" ||