Aucompletion for jest-cli by Hunsu · Pull Request #4142 · fish-shell/fish-shell

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@Hunsu

Copy link

Contributor

@Hunsu Hunsu commented

Jun 18, 2017

No description provided.

complete -f -c jest -l transform -d 'A JSON string which maps from regular expressions to paths to transformers'
complete -f -c jest -l transformIgnorePatterns -d 'Regexp patterns that are matched against all source file paths before transformation'
complete -f -c jest -l unmockedModulePathPatterns -d 'a regex pattern of module to unmock'
complete -f -c jest -l updateSnapshot -s -u -d 'Use this flag to re-record snapshots'
Copy link

Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the -u? The documentation says it is deprecated and ignored.

Copy link

Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is the short option for updateSnapshot. I forgot to remove '-'. I also forgot to add -d for some options. I fixed it.

@krader1961

Copy link

Contributor

Merged as commit d234a18.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators

Apr 17, 2020

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

Reviewers

1 more reviewer

@krader1961 krader1961 krader1961 left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

fish 2.7.0

Development

Successfully merging this pull request may close these issues.

2 participants

@Hunsu @krader1961