Skip to content

Test Command doesn't support custom output path #682

Description

@JonCubed

1. Problem

There is currently no way to specify a custom output-path while running ng test, ember-cli supports --path and ng test --help also lists the flag as available however when you run it with flag you get

The option '--path' is not registered with the test command. Run `ng test --help` for a list of supported options.

The dist/ folder is also hard-coded in angular-cli test command.

I am using ASP.NET Core which expects public files to be in wwwroot/, I am currently building to wwwroot/ using .ember-cli with "output-path"

2. What I expect to see

Using a flag in cli I should be able to specify a custom output-path, also I should be able to set a default in .angular-cli to use instead of dist/

3. How to resolve it
I think test command would need to be updated to accept flag and get value from angular-cli.json. angular-cli.json schema would also need to be updated

I've made a pull request of what I think would probably need to change #681

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P5The team acknowledges the request but does not plan to address it, it remains open for discussioneffort2: medium (days)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions