{"id":16430906,"url":"https://github.com/qdouble/jasmine-ts","last_synced_at":"2026-06-18T00:31:10.369Z","repository":{"id":73696410,"uuid":"142836156","full_name":"qdouble/jasmine-ts","owner":"qdouble","description":"Attempt to upgrade to jasmine 3+","archived":false,"fork":false,"pushed_at":"2018-08-10T07:08:34.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T09:46:41.492Z","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/qdouble.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-30T06:48:10.000Z","updated_at":"2018-08-10T07:08:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"b1414455-1dc9-4f06-9898-7fbe07d10c4d","html_url":"https://github.com/qdouble/jasmine-ts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/qdouble/jasmine-ts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qdouble%2Fjasmine-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qdouble%2Fjasmine-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qdouble%2Fjasmine-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qdouble%2Fjasmine-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qdouble","download_url":"https://codeload.github.com/qdouble/jasmine-ts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qdouble%2Fjasmine-ts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34471638,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-11T08:28:42.778Z","updated_at":"2026-06-18T00:31:10.348Z","avatar_url":"https://github.com/qdouble.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jasmine-ts\n\n[![Build Status](https://travis-ci.org/svi3c/jasmine-ts.svg?branch=master)](https://travis-ci.org/svi3c/jasmine-ts)\n\nA simplification for running [jasmine](https://www.npmjs.com/package/jasmine) with\n[ts-node](https://github.com/TypeStrong/ts-node).\n\n## Installation\n\n```\nnpm i -D jasmine-ts\n```\n\n## Usage\n\n* In your `package.json` file create a test script:\n\n  ```json\n  {\n    \"scripts\": {\n      \"test\": \"jasmine-ts \\\"path/to/specs/**/*.spec.ts\\\"\"\n    }\n  }\n  ```\n* Initialize jasmine\n\n  ```\n  node_modules/.bin/jasmine-ts init\n  ```\n\n  Note: This module enables the configuration support of\n  reporters. For example, if you want to use the\n  [jasmine-spec-reporter](https://github.com/bcaudan/jasmine-spec-reporter),\n  which provides a nice output, you can add a reporters array to the `jasmine.json`\n  file like this:\n\n  ```json\n  {\n    \"reporters\": [\n      {\n        \"name\": \"jasmine-spec-reporter#SpecReporter\",\n        \"options\": {\n          \"displayStacktrace\": \"all\"\n        }\n      }\n    ]\n  }\n  ```\n  If the reporters are not the default export of the module,\n  you can reference another export by using the `#` separator.\n\n* Run the tests\n\n  ```\n  npm test\n  ```\n  \n### Running with istanbul coverage\n\nYou can use [nyc](https://github.com/istanbuljs/nyc) to check your test coverage.\n\nExample `package.json`:\n```json\n{\n  \"scripts\": {\n    \"test\": \"nyc  -r lcov -e .ts -x \\\"*.spec.ts\\\" jasmine-ts \\\"path/to/specs/**/*.spec.ts\\\"\"\n  }\n}\n```\n\n### Note\n\nYou still need to install the typings for jasmine to make the typescript-compiler happy about your specs:\n\nTypeScript 2:\n```\nnpm i -D @types/jasmine\n```\n\nTypeScript 1:\n```\ntypings i -DG dt~jasmine\n```\n\nSince `0.1.3` [ts-node options](https://www.npmjs.com/package/ts-node#configuration-options) are passed through to ts-node.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqdouble%2Fjasmine-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqdouble%2Fjasmine-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqdouble%2Fjasmine-ts/lists"}