Skip to content
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

Testing #25

Open
aphelionz opened this issue Apr 19, 2020 · 2 comments
Open

Testing #25

aphelionz opened this issue Apr 19, 2020 · 2 comments

Comments

@aphelionz
Copy link
Member

From @rigwild's comment in #24:

What you could do is to write a simple TypeScript program that makes use of tested types and check if it compiles successfully without errors/warnings.

@aphelionz aphelionz mentioned this issue Apr 19, 2020
@rigwild
Copy link
Contributor

rigwild commented May 1, 2020

I just found out about https://github.com/SamVerschueren/tsd which is exactly what you may be looking for.

@aphelionz
Copy link
Member Author

aphelionz commented May 2, 2020

Just checked it out in more detail and yes! This is exactly it. It would be most useful, I think, if it was part of the orbitdb/orbit-db testing pipeline to make sure these are always up to date with whatever is in the orbitdb/orbit-db#master branch

Edit: Probably not locally, but as part of automated CI via CircleCI or GitHub Actions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants