From 8de57fe20bdd4866252e5aeaa2af5d2cc1132ae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Allen=20Zhang=20=28=E5=BC=A0=E6=B6=9B=29?= Date: Tue, 8 Oct 2024 16:16:50 +0800 Subject: [PATCH] feat: update --- packages/canyon-backend/src/app.controller.ts | 10 ++++++++++ .../canyon-backend/src/coverage/coverage.controller.ts | 1 - packages/canyon-platform/src/components/LineChart.tsx | 10 ++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/packages/canyon-backend/src/app.controller.ts b/packages/canyon-backend/src/app.controller.ts index f9fa22b4..2dddb081 100755 --- a/packages/canyon-backend/src/app.controller.ts +++ b/packages/canyon-backend/src/app.controller.ts @@ -144,6 +144,16 @@ export class AppController { utLineCoverage: 69.83, codeChangeNum: 940460, }, + { + month: 8, + year: 2024, + uiTestBranchCoverage: 63.5, + uiTestLineCoverage: 78.11, + uiTestChangedLineCoverage: 95.33, + utBranchCoverage: 67.9, + utLineCoverage: 70.21, + codeChangeNum: 951122, + }, ]; } } diff --git a/packages/canyon-backend/src/coverage/coverage.controller.ts b/packages/canyon-backend/src/coverage/coverage.controller.ts index b8c58170..49001b1b 100755 --- a/packages/canyon-backend/src/coverage/coverage.controller.ts +++ b/packages/canyon-backend/src/coverage/coverage.controller.ts @@ -14,7 +14,6 @@ import { CoverageService } from "./services/coverage.service"; import { PrismaService } from "../prisma/prisma.service"; import { CoverageReportsService } from "./services/coverage-reports.service"; import { ConsumerCoverageService } from "./services/core/consumer-coverage.service"; -import { undefined } from "zod"; @Controller() export class CoverageController { diff --git a/packages/canyon-platform/src/components/LineChart.tsx b/packages/canyon-platform/src/components/LineChart.tsx index 8b8ef057..0c5cc8d9 100644 --- a/packages/canyon-platform/src/components/LineChart.tsx +++ b/packages/canyon-platform/src/components/LineChart.tsx @@ -74,6 +74,16 @@ const coreData = [ utBranchCoverage: 67.1, utLineCoverage: 69.83, }, + { + month: 8, + year: 2024, + uiTestBranchCoverage: 63.5, + uiTestLineCoverage: 78.11, + uiTestChangedLineCoverage: 95.33, + utBranchCoverage: 67.9, + utLineCoverage: 70.21, + codeChangeNum: 951122, + }, ]; const data = {