Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Ignore Jest Test directory when using a non-tracked org #537

Description

@sgkmills

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
When using a non-tracked org, the 'Push-or-deploy-or-save' setting will try to save JEST test files to the org, but it shouldn't. Since the force:source:deploy command doesn't use the .forceignore file, it isn't ignoring the 'tests' directory.

Describe the solution you'd like
A clear and concise description of what you want to happen.
Have the 'force:source:deploy' use the .forceignore file so the files/directories listed in there are not pushed to non-tracked org when you try to save a JEST test file and you have the 'Push-or-deploy-or-save' setting enabled.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Turning off the 'Push-or-deploy-or-save' setting and manually deploy the files I need to non-tracked org

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureIssue or pull request for a new feature

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions