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

Test whether libdefs contain all exports from orbit-compnents/src/index.js #2344

Open
silvenon opened this issue Oct 15, 2020 · 0 comments
Open

Comments

@silvenon
Copy link
Contributor

The problem is it's possible to forget to add a new export to orbit-components/src/index.js.flow and orbit-components/src/index.d.ts (that goes for all libdefs, but one step at a time). It would be great if we could test in CI whether they contain all of the exports. This can be done by parsing both files and checking their AST, you can use AST explorer for this. It's probably enough to use Babel parser for both files.

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