This repository has been archived by the owner on Mar 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Remove ts-ignores introduced by #2330 #2352
Labels
Comments
luckysori
changed the title
Remo ts-ignores introduced by #2330
Remove ts-ignores introduced by #2330
Mar 30, 2020
@thomaseizinger I finally refined this one. You may want to add it to an epic 😄 |
Thanks @luckysori, I applied |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Removing |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Problem
Every API test produces a log file which needs to be named after the test. Unfortunately, with Jest this is not straightforward. In the past we used a tiny, hacky JS library to deal with this problem. After PR #2330, we instead instruct Jasmine, the testing framework Jest builds on top of, to give us the name.
That was an improvement, but we had to introduce
ts-ignore
s to silence the compiler herecomit-rs/api_tests/src/configure_jasmine.ts
Lines 1 to 5 in 9523f7b
and here
comit-rs/api_tests/src/actor_test.ts
Lines 10 to 24 in 9523f7b
Goal
To listen to the compiler. Remove the
ts-ignore
s and deal with the problem.The text was updated successfully, but these errors were encountered: