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" ||