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 code for TextEditor.tsx (generated by Tom, AI test code agent) #458

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tomfrombayesians
Copy link

Hi there! I'm excited to contribute to jsoncrack.com. My team is developing an open-source test code agent called "Tom" to help boost code coverage for open source projects. I've used Tom to generate test code for the src/features/editor/TextEditor.tsx. Let me know if you need any changes.

Tom is still in development, but if you're interested in trying out your own test code agent, join our beta waitlist via the landing page below or contact us at [email protected]. Thanks!

https://tomai.framer.website/


src/features/editor/__tests__/TextEditor.test.tsx

Comprehensive tests for the TextEditor.

These tests cover:

  • Rendering the editor with the initial file contents.
  • Updating the editor content based on user input.
  • Triggering a check for unsaved changes when the page is about to unload.
  • Applying JSON schema validation when a schema is provided.

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

Successfully merging this pull request may close these issues.

1 participant