Merged
Conversation
… test setup - Enhanced ESLint rules for TypeScript naming conventions to enforce better code practices. - Introduced Jest as the testing framework, replacing Mocha, and updated related configurations. - Added test setup and mock files for VS Code and LWC to facilitate unit testing. - Refactored existing tests to align with Jest's structure and capabilities. - Removed outdated test files and streamlined the testing process for improved maintainability.
- Modified Jest configuration to disable experimental decorators and emit decorator metadata. - Introduced a new mock file for the App component to facilitate testing. - Added comprehensive unit tests for the App component, covering its methods, properties, and integration with the VS Code API. - Enhanced LWC mock implementations to support the App component's testing requirements.
- Updated the mock implementations of the track, api, and wire decorators to support optional property keys for better flexibility in testing. - Introduced a new test suite for the BranchModal component, covering various scenarios including property management, event handling, and integration workflows. - Implemented comprehensive tests to ensure correct behavior for branch selection, saving, and cancellation processes.
- Introduced `CliElement` and `Header` components, implementing their core functionalities and properties. - Added Jest unit tests for both components, covering various scenarios including command execution, navigation handling, and state management. - Updated Jest configuration to include new mock paths for the components, enhancing test coverage and maintainability.
- Enabled experimental decorators and metadata emission in Jest configuration to support new component features. - Added multiple mock files for new components including Home, MetadataExplorer, OrgListItem, OrgManager, Pipeline, RepoConfig, and Toast to facilitate comprehensive testing. - Refactored the App component's executeCommand method in the Home mock for improved test accuracy. - Introduced unit tests for the new components, ensuring robust coverage of their functionalities and interactions.
- Introduced the ScratchOrgModal component, which manages Dev Hub selection, org alias input, definition file selection, and duration settings. - Implemented comprehensive unit tests for the ScratchOrgModal, covering initialization, computed properties, event handling, and validation logic. - Updated Jest configuration to include the new component mock for testing purposes.
…nfig - Removed the compile step from the pretest script to streamline testing. - Updated webpack configuration to exclude the test directory from TypeScript compilation, improving build efficiency.
- Introduced a new job in the GitHub Actions workflow to run tests after the compilation step. - This enhancement ensures that tests are executed automatically during the CI process, improving code quality and reliability.
- Modified the GitHub Actions workflow to install root dependencies before extension dependencies, ensuring a more efficient setup process. - Updated the cache dependency path to reference the root package-lock.json for improved caching performance.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Incorporate a large suite of unit tests for the modules in the application.