-
Notifications
You must be signed in to change notification settings - Fork 460
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
Fix type errors in jessidhia/patch-1 #1004
Conversation
babel-jest@24 will also use loadPartialConfig to be able to mix its own options into the config in an API-conforming manner. However, loadPartialConfig will throw an assertion error if the config has not only been loaded, but also had its plugins instantiatied. loadOptions() does the whole thing, including instantiating the plugins, so it can't be used for multiple config loading passes, only the final pass.
Pull Request Test Coverage Report for Build 2439
💛 - Coveralls |
Oh neat, the tests appear to have passed. Note that this PR doesn't address #960 (comment) (unfortunately I don't understand enough about Babel to address that), it just fixes typings so the PR doesn't break the build. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll be honest, I'm not entirely sure if this is the right way to do it, but it's a step in the right direction so let's see where it goes!
Thanks @GeeWee! Since you merged this into master, should #960 be closed? Also, how soon do you think you will publish a new release to npm? I originally tried setting my |
Ack, ignore the part about re-publishing to npm--I realized ts-jest has a |
Why should #960 be closed? Isn't it about more than the typings? |
Aw dang, I actually thought this was just a fix that allowed #960 to move on. I shouldn't have merged this in. Oh well. |
This is the same thing as #960 but with the type errors fixed, maybe.
If it's desirable I could make this a PR against
jessidhia/patch-1
instead of againstmaster
.I am getting some really weird feedback when I run
npm test
though, so I am just starting this PR to see what Travis thinks of it.