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

create codegen test framework #10

Closed
tantaman opened this issue Feb 21, 2021 · 1 comment
Closed

create codegen test framework #10

tantaman opened this issue Feb 21, 2021 · 1 comment

Comments

@tantaman
Copy link
Collaborator

test that the codegen re-generates some expected output

@tantaman
Copy link
Collaborator Author

This (encoding expected output manually inline) is working well enough for the time being:
https://github.com/tantaman/aphrodite/blob/main/packages/codegen-ts/src/__tests__/GenTypescriptQuery.test.ts#L95-L120

But it would be nice if we could re-gen all expected outputs after making a valid change to codegen.

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

1 participant