Skip to content
This repository has been archived by the owner on Nov 4, 2021. It is now read-only.

Fix tests by :any-ing catch errors #559

Closed
wants to merge 1 commit into from
Closed

Fix tests by :any-ing catch errors #559

wants to merge 1 commit into from

Conversation

timgl
Copy link
Contributor

@timgl timgl commented Sep 6, 2021

Changes

There was a change in typescript that means all catch error are type 'unkown' microsoft/TypeScript#20024

Checklist

  • Updated Settings section in README.md, if settings are affected
  • Jest tests

Copy link
Member

@Twixes Twixes left a comment

Choose a reason for hiding this comment

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

Good catch, we saw these failures with @yakkomajuri during the hackathon as well, but didn't have time to investigate. This is a valid hotfix.
However this should also not been a problem with CI, because CI should be using tsc from package.json, not what the GH Actions runner has globally. That part of the problem is fixed by #560.
Both this and that PR get rid of the errors.

@timgl
Copy link
Contributor Author

timgl commented Sep 6, 2021

Yes lets close this in favour of #560

@timgl timgl closed this Sep 6, 2021
@Twixes Twixes mentioned this pull request Sep 6, 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 this pull request may close these issues.

2 participants