From 4eb46953b5db4016d58754923690273b0fa0c248 Mon Sep 17 00:00:00 2001 From: kittisakLS Date: Tue, 7 Nov 2023 15:57:36 +0700 Subject: [PATCH] test(component): change property in test --- tests/analyze-component-files.spec.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/analyze-component-files.spec.ts b/tests/analyze-component-files.spec.ts index 74a1cd8..a1f396e 100644 --- a/tests/analyze-component-files.spec.ts +++ b/tests/analyze-component-files.spec.ts @@ -207,7 +207,7 @@ describe("Remove duplicate components", () => { componentProfiles.push({ name: "Button", type: "internal", - total: 0, + usage: 0, deepestNested: 0, source: { path: "C:/projects/berryjam-cli/public/Components/Header.js", @@ -221,7 +221,6 @@ describe("Remove duplicate components", () => { }, properties: [], usageLocations: [], - groups: [], children: { total: 1, tags: ["Button"], source: "" }, }); // Push 2nd object @@ -229,7 +228,7 @@ describe("Remove duplicate components", () => { name: "Button", type: "internal", deepestNested: 0, - total: 0, + usage: 0, source: { path: "C:/projects/berryjam-cli/public/Components/Header.js", property: { @@ -242,7 +241,6 @@ describe("Remove duplicate components", () => { }, properties: [], usageLocations: [], - groups: [], children: { total: 1, tags: ["Button"], source: "" }, });