[refactor]: Update the way to push element in analyze-component-files.spec.ts #4
Labels
good first issue
Issues that we believe are relatively straightforward to tackle. Good for newcomers.
hacktoberfest-accepted
Overview
The purpose of this issue is to refactor the code in the file mentioned in the title to improve code quality and maintainability. At the moment, the
analyzed-component-files.spec.ts
haspush
repeated twice.berryjam/tests/analyze-component-files.spec.ts
Lines 207 to 228 in aec7ac5
As you can see, It might not need to use
push
twice to push 2 objectsExpected Behavior
push
with 2 objects instead.The text was updated successfully, but these errors were encountered: