{"id":19723488,"url":"https://github.com/remind101/jest-transform-graphql","last_synced_at":"2025-04-05T03:11:00.129Z","repository":{"id":40346225,"uuid":"76612471","full_name":"remind101/jest-transform-graphql","owner":"remind101","description":"Make .graphql file importing work in Jest","archived":false,"fork":false,"pushed_at":"2022-05-13T19:47:49.000Z","size":4,"stargazers_count":122,"open_issues_count":8,"forks_count":24,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-01T11:04:22.217Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/remind101.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-16T02:04:17.000Z","updated_at":"2024-09-05T03:12:41.000Z","dependencies_parsed_at":"2022-09-10T07:11:23.369Z","dependency_job_id":null,"html_url":"https://github.com/remind101/jest-transform-graphql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remind101%2Fjest-transform-graphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remind101%2Fjest-transform-graphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remind101%2Fjest-transform-graphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remind101%2Fjest-transform-graphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remind101","download_url":"https://codeload.github.com/remind101/jest-transform-graphql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247280272,"owners_count":20912967,"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":[],"created_at":"2024-11-11T23:22:22.062Z","updated_at":"2025-04-05T03:11:00.089Z","avatar_url":"https://github.com/remind101.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jest-transform-graphql\n\n[`graphql-tag` loader for Webpack](http://dev.apollodata.com/react/webpack.html) lets you keep GraphQL queries in separate files.\n\nThis lib makes those work in Jest.\n\n## Usage\n\nIn your package.json,\n```\n  \"jest\": {\n    \"transform\": {\n      \"\\\\.(gql|graphql)$\": \"jest-transform-graphql\",\n      \".*\": \"babel-jest\"\n    }\n  }\n```\n\n\nYou have to include the `.*` matcher because once you define the `transform` property, it overrides that default.\n\nFor more on configuring Jest mappers, see Jest's [Webpack tutorial](https://facebook.github.io/jest/docs/tutorial-webpack.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremind101%2Fjest-transform-graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremind101%2Fjest-transform-graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremind101%2Fjest-transform-graphql/lists"}