Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option "resolver" is not considered valid #3188

Closed
suchipi opened this issue Mar 22, 2017 · 14 comments · Fixed by #3191
Closed

Option "resolver" is not considered valid #3188

suchipi opened this issue Mar 22, 2017 · 14 comments · Fixed by #3191

Comments

@suchipi
Copy link
Contributor

suchipi commented Mar 22, 2017

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
Screenshot of terminal output showing a Validation Warning for unknown type "resolver"
The "resolver" option is not considered valid, despite its presence in the documentation.

Repro: https://repl.it/G90C
(Just the default https://repl.it/languages/jest with "resolver": "something" added to config)

What is the expected behavior?

resolver should be a valid config option or it should be deprecated/not documented.

@thymikee
Copy link
Collaborator

resolver is not officially released yet, it will be in Jest v20.

@thymikee
Copy link
Collaborator

Also, @amasad can you please update Jest to v19.0.2 on repl.it?

@amasad
Copy link
Contributor

amasad commented Mar 23, 2017

@thymikee Sure. We're moving to Google Cloud from AWS this week so will probably take until next week before we get it out. (We're also trying to automate updates)

@thymikee
Copy link
Collaborator

Yeah awesome! Thank you.

@suchipi
Copy link
Contributor Author

suchipi commented Mar 23, 2017

Thanks for the clarification.

This is the third time I've tried to use an unavailable feature from a newer jest version because I read about it in the docs (first two were toMatchObject and asymmetric matchers). Part of the issue is that CRA is usually a bit behind in Jest version compared to the docs.

Would it be useful to version the API docs, similar to what node does?

@thymikee
Copy link
Collaborator

We already do something like that (but with various luck, as you can see 😄): here's corresponding PR #3191.

@JesperWe
Copy link

JesperWe commented Mar 23, 2017

When are you releasing v20? I just started with Jest yesterday, and was completely confused by the docs being ahead of the release, especially since the docs on how to test async stuff has a lot of v20 features in it.

@thymikee
Copy link
Collaborator

In 3-4 weeks, after @cpojer returns from his PTO. btw, you can use jest@next to get some features ahead of time. I also encourage you to send a PR with the availability note (like here) if we missed something.

@JesperWe
Copy link

Thanks for the tip! I guess @next is built from master then? Any way to tell what commit?

@thymikee
Copy link
Collaborator

Unfortunately not. You need to ask @DmitriiAbramov

@JesperWe
Copy link

JesperWe commented Mar 23, 2017

Ah. It announces itself as -- jest@19.1.0-alpha.eed82034 when installing, so there is!

@suchipi
Copy link
Contributor Author

suchipi commented Mar 23, 2017

Is the jest documentation automatically published when commits are made to master? I agree that it's confusing for the docs to be ahead of the release

@thymikee
Copy link
Collaborator

cc: @hramos

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants