I improved the buildComponentInWorkspace function to to work with cutom component configuration, so now it can build a custom component and not only the object from getDefaultComponent function.
Created tests for the bit add ... command to check if it's work with the default component object and also with the custom option, the tests also check the tests file option within the component object.
I created a function to get the file name in any path, I also created tests for this function.
Proposed Changes
buildComponentInWorkspace
function to to work with cutom component configuration, so now it can build a custom component and not only the object fromgetDefaultComponent
function.bit add ...
command to check if it's work with the default component object and also with the custom option, the tests also check the tests file option within the component object.