{"id":15690231,"url":"https://github.com/raathigesh/jest-tools","last_synced_at":"2025-05-07T23:35:46.620Z","repository":{"id":83259898,"uuid":"389596490","full_name":"Raathigesh/Jest-tools","owner":"Raathigesh","description":"🔧 VSCode extension for inspecting DOM of Jest tests","archived":false,"fork":false,"pushed_at":"2021-08-02T09:21:46.000Z","size":2332,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-26T05:41:30.464Z","etag":null,"topics":["developer-tools","dx","jest"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Raathigesh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-26T10:36:57.000Z","updated_at":"2024-10-13T02:58:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"c1630caf-4852-4035-b798-83c2aa3b257c","html_url":"https://github.com/Raathigesh/Jest-tools","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raathigesh%2FJest-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raathigesh%2FJest-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raathigesh%2FJest-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raathigesh%2FJest-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Raathigesh","download_url":"https://codeload.github.com/Raathigesh/Jest-tools/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243042913,"owners_count":20226721,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["developer-tools","dx","jest"],"created_at":"2024-10-03T18:08:22.357Z","updated_at":"2025-03-11T13:32:00.119Z","avatar_url":"https://github.com/Raathigesh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://raw.githubusercontent.com/Raathigesh/Jest-tools/main/icons/Github%20banner.png\"\u003e\n\nJest tools let you inspect html from your Jest tests with ease when logging to console is not enough.\n\n### Getting started\n\n-   Install the [VSCode extension.](https://marketplace.visualstudio.com/items?itemName=Raathigeshan.jest-tools)\n-   From VSCode's command palette, run the `Jest tools: Start jest tools` command.\n-   This will show you the Jest tools UI. **The initial screen will ask you to start Jest with additional command line arguments (A custom jest reporter to capture console logs).**\n-   Then simply `console.log()` a html string and it will appear in the inspector.\n\n#### An example usage\n\nLogging the entire body content after rendering a component.\n\n```javascript\nimport { render } from '@testing-library/react';\n\ntest('should work', () =\u003e {\n    render(\u003cApp /\u003e);\n    console.log(document.body.innerHtml); // this html will appear in jest tools\n});\n```\n\n### Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/Raathigesh\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/3108160?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eRaathi Kugarajan\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Raathigesh/Jest tools/commits?author=Raathigesh\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"https://github.com/Raathigesh/Jest tools/commits?author=Raathigesh\" title=\"Documentation\"\u003e📖\u003c/a\u003e \u003ca href=\"#ideas-Raathigesh\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e \u003ca href=\"#infra-Raathigesh\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e \u003ca href=\"#maintenance-Raathigesh\" title=\"Maintenance\"\u003e🚧\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraathigesh%2Fjest-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraathigesh%2Fjest-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraathigesh%2Fjest-tools/lists"}