Skip to content

Commit

Permalink
test(component): change property in test
Browse files Browse the repository at this point in the history
  • Loading branch information
kittisakLS committed Nov 7, 2023
1 parent b5e9b48 commit 4eb4695
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/analyze-component-files.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -221,15 +221,14 @@ describe("Remove duplicate components", () => {
},
properties: [],
usageLocations: [],
groups: [],
children: { total: 1, tags: ["Button"], source: "" },
});
// Push 2nd object
componentProfiles.push({
name: "Button",
type: "internal",
deepestNested: 0,
total: 0,
usage: 0,
source: {
path: "C:/projects/berryjam-cli/public/Components/Header.js",
property: {
Expand All @@ -242,7 +241,6 @@ describe("Remove duplicate components", () => {
},
properties: [],
usageLocations: [],
groups: [],
children: { total: 1, tags: ["Button"], source: "" },
});

Expand Down

0 comments on commit 4eb4695

Please sign in to comment.