-
Notifications
You must be signed in to change notification settings - Fork 451
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: add test for typemap #8698
base: next
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
No changes to documentation |
Coverage Report
File CoverageNo changed files found. |
⚡️ Editor Performance ReportUpdated Tue, 18 Feb 2025 23:04:46 GMT
Detailed information🏠 Reference resultThe performance result of
🧪 Experiment resultThe performance result of this branch
📚 Glossary
|
Component Testing Report Updated Feb 18, 2025 11:08 PM (UTC) ❌ Failed Tests (4) -- expand for details
|
@@ -70,6 +70,26 @@ describeCliTest('CLI: `sanity typegen`', () => { | |||
expect(types.toString()).toMatchSnapshot() | |||
}) | |||
|
|||
test('sanity typegen generate: generates query type map', async () => { | |||
// Write a prettier config to the output folder, with single quotes. The defeault is double quotes. |
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.
Not sure I understand this comment? We're not writing any prettier configs here, are we?
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.
Other than what @rexxars already called out it LGTM
Description
Ensures that the generated query typemap matches the expected generated types and query.
What to review
Testing
Well, added
Notes for release
N/A