refactor(cli): reorganizing tests/ directory #115
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes a series of changes to the integration and unit tests within the CLI application. The changes primarily involve renaming test files and updating import paths and directory references.
Test File Renaming and Path Updates:
File Renaming:
apps/cli/test/builder/directory.test.ts
is nowapps/cli/tests/integration/builder/directory.test.ts
.docker.test.ts
,empty.test.ts
,none.test.ts
,tar.test.ts
, and various exec tests. [1] [2] [3] [4] [5] [6] [7] [8]Import Path Updates:
../../src/builder/directory
are now../../../src/builder/directory
. [1] [2] [3] [4] [5] [6] [7] [8] [9]Directory Reference Updates:
data
tofixtures
for consistency and better organization. For example,path.join(__dirname, "data", "sample1")
is nowpath.join(__dirname, "fixtures", "sample1")
. [1] [2] [3] [4] [5] [6] [7] [8]New Unit Test Additions:
apps/cli/tests/unit/config.test.ts
. This includes loading and parsing various drive configurations from thefixtures
directory. [1] [2]These changes aim to improve the organization and maintainability of the test suite, ensuring consistent naming conventions and better directory structure.