-
Notifications
You must be signed in to change notification settings - Fork 728
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
Transition VM tests to TypeScript #881
Conversation
…es, some API tests)
Codecov Report
Flags with carried forward coverage won't be shown. Click here to find out more. |
Note: this is now also getting under the reign of the linter, therefore there are more changes than the manual ones along the transition. |
Have glanced over it, will have to take a deeper look later. I also love that tests are now being linted! 😄 |
woo thanks for starting this! it looks like in working on that file I noticed that the i also updated the |
That's great! :D As a following step, maybe we can keep a bare minimum of JS tests, to ensure the behavior of the API in the JS world. I realized how important this was when we had the discussion of |
@evertonfraga that's a good idea, hm ok i was thinking of fully transitioning over to karma-typescript from karma-browserify but in that case if we want to keep some sanity JS tests we can probably use |
Transition rest of VM tests to TypeScript, add karma-typescript
f3fb503
to
0f493a4
Compare
35cbb38
to
51290b7
Compare
51290b7
to
519ccf8
Compare
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.
ok, this looks good to me now!
add .nycrc drop dist flag for tester
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.
Woah, unbelievable PR, you really can't stop once you started, right? 😂
😁😄😆
Really great, will merge.
Love this PR and the lighting speed it was written!! 😍 |
This PR transitions the VM test suite to TypeScript. State and blockchain tests are converted, API tests partially. First thought we could merge this partial API test transtion state cause the
test:API
command runs with both js and ts files but then realized that thetest:API:browser
command fails and it is probably easier to convert all the API tests as well and then adopt the Karma config and not introduce some hybrid setup.I will (likely) stop on this for now. If you want to continue here feel free to do so, then please announce here before on what files you will be working and don't push directly on the branch but open a separate PR towards this branch.