Skip to content

Conversation

@SimenB
Copy link
Member

@SimenB SimenB commented Mar 26, 2020

Summary

In #9705 I just tested with pretty-format - seems I forgot to update a few package.jsons. This also uncovered a few missing types fields as well, so fixing those at the same time.

I also rolled back on syntax that downlevel doesn't support and worked around another bug.

Fixes #9714.

Test plan

I've now verified [email protected] can compile the entire jest package, not just pretty-format and what that pulls in


assert(value: unknown, message?: string | Error): asserts value {
// use `asserts` when https://github.com/sandersn/downlevel-dts/issues/32 is fixed
assert(value: unknown, message?: string | Error): void {
Copy link
Member Author

Choose a reason for hiding this comment

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

@SimenB
Copy link
Member Author

SimenB commented Mar 26, 2020

I've tried adding a test now that actually runs [email protected] on the built project. Hopefully it fails, then passes when I fix the error.

EDIT: OK, it failed.
image

Fixing the error and pushing now

EDIT2: yay, it passed
image

@github-actions
Copy link

This pull request 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 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Import issues in latest version of jest packages (25.2.2)

2 participants