feat(ng): add test subcommand and options#2619
Open
paween1980 wants to merge 1 commit intowithfig:masterfrom
Open
feat(ng): add test subcommand and options#2619paween1980 wants to merge 1 commit intowithfig:masterfrom
paween1980 wants to merge 1 commit intowithfig:masterfrom
Conversation
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
Contributor
Overviewsrc/ng.ts:Info:Single Functions:postProcess: function (out) {
try {
const projects = JSON.parse(out);
return Object.entries(projects).map(
([projectName, details]: [string, ProjectDetails]) => ({
name: projectName,
description: details.projectType,
})
);
} catch (e) {}
return [];
} |
Author
|
I have read the CLA Document and I hereby sign the CLA |
Contributor
|
Hello @paween1980,
Please add a 👍 as a reaction to this comment to show that you read this. |
733ae9b to
8c1066e
Compare
Author
|
Hi maintainers, the CLA Assistant check seems to be failing with: Error: Could not update the JSON file: Not Found It looks like a configuration issue with CLA Assistant rather than the PR itself. Could you please take a look? |
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.
This PR adds the missing test subcommand to the Angular CLI (ng) autocomplete specification.
Changes:
Added test subcommand to the ng spec.
Included common options for ng test such as --watch, --code-coverage, --browsers, and --include.
Added support for project name arguments when running tests.
Motivation:
Currently, the ng autocomplete spec is missing the test command, which is a core part of the Angular development workflow. Adding this improves the developer experience for Angular engineers using kiro-cli.
Testing:
Verified the new spec using Fig's local development mode (npx @withfig/autocomplete-tools dev).
Confirmed that all flags and subcommands are correctly suggested when typing ng test.
Checklist:
[x] All arguments and options are correctly defined.
[x] Follows the Conventional Commits standard.
[x] Tested locally before submitting.