{"id":22667202,"url":"https://github.com/shereef/graphql-jest-coverage-attribute","last_synced_at":"2025-03-29T10:22:36.646Z","repository":{"id":139189391,"uuid":"567889660","full_name":"Shereef/graphql-jest-coverage-attribute","owner":"Shereef","description":"This repo was created to outline an issue running `npm run test:cov` would get us less than a 100% coverage caused by the function in the attribute `@Query(() =\u003e String)` in `src/app.resolver.ts` in the hopes that we would get a better solution other than `/* istanbul ignore next */` right before the function","archived":false,"fork":false,"pushed_at":"2023-02-07T18:15:46.000Z","size":758,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-04T04:29:07.148Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Shereef.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-11-18T20:36:42.000Z","updated_at":"2022-11-18T20:36:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"2767dc4f-500d-4158-8d32-c01f659278e3","html_url":"https://github.com/Shereef/graphql-jest-coverage-attribute","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/Shereef%2Fgraphql-jest-coverage-attribute","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shereef%2Fgraphql-jest-coverage-attribute/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shereef%2Fgraphql-jest-coverage-attribute/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shereef%2Fgraphql-jest-coverage-attribute/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shereef","download_url":"https://codeload.github.com/Shereef/graphql-jest-coverage-attribute/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246169058,"owners_count":20734584,"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-12-09T14:40:19.868Z","updated_at":"2025-03-29T10:22:36.615Z","avatar_url":"https://github.com/Shereef.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This repo was created to outline an issue running `npm run test:cov` would get us less than a 100% coverage caused by the function in the attribute `@Query(() =\u003e String)` in `src/app.resolver.ts` in the hopes that we would get a better solution other than `/* istanbul ignore next */` right before the function\n\n```\n$ npm run test:cov\n\n\u003e graphql-jest-coverage-attribute@0.0.1 test:cov\n\u003e jest --coverage\n\n PASS  src/app.resolver.spec.ts\n  AppResolver\n    root\n      ✓ should return \"Hello World!\" (6 ms)\n\n-----------------|---------|----------|---------|---------|-------------------\nFile             | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s\n-----------------|---------|----------|---------|---------|-------------------\nAll files        |   85.71 |      100 |      50 |     100 |\n app.resolver.ts |   85.71 |      100 |      50 |     100 |\n-----------------|---------|----------|---------|---------|-------------------\nTest Suites: 1 passed, 1 total\nTests:       1 passed, 1 total\nSnapshots:   0 total\nTime:        2.227 s, estimated 3 s\nRan all test suites.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshereef%2Fgraphql-jest-coverage-attribute","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshereef%2Fgraphql-jest-coverage-attribute","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshereef%2Fgraphql-jest-coverage-attribute/lists"}