{"id":20931510,"url":"https://github.com/sumanjs/karma-suman","last_synced_at":"2026-04-22T12:05:20.986Z","repository":{"id":57288570,"uuid":"107819127","full_name":"sumanjs/karma-suman","owner":"sumanjs","description":"Adapter for running Suman tests with the Karma test runner.","archived":false,"fork":false,"pushed_at":"2017-10-22T09:09:33.000Z","size":210,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-20T02:37:22.690Z","etag":null,"topics":["karma-framework","karma-test-runner","suman","sumanjs","unit-testing"],"latest_commit_sha":null,"homepage":"","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/sumanjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-21T22:04:03.000Z","updated_at":"2017-10-30T23:30:08.000Z","dependencies_parsed_at":"2022-08-24T22:00:31.816Z","dependency_job_id":null,"html_url":"https://github.com/sumanjs/karma-suman","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/sumanjs%2Fkarma-suman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumanjs%2Fkarma-suman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumanjs%2Fkarma-suman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumanjs%2Fkarma-suman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sumanjs","download_url":"https://codeload.github.com/sumanjs/karma-suman/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243324506,"owners_count":20273113,"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":["karma-framework","karma-test-runner","suman","sumanjs","unit-testing"],"created_at":"2024-11-18T21:43:35.338Z","updated_at":"2025-12-26T12:33:18.478Z","avatar_url":"https://github.com/sumanjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# karma-jasmine\n\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/karma-runner/karma-jasmine)\n [![npm version](https://img.shields.io/npm/v/karma-jasmine.svg?style=flat-square)](https://www.npmjs.com/package/karma-jasmine) [![npm downloads](https://img.shields.io/npm/dm/karma-jasmine.svg?style=flat-square)](https://www.npmjs.com/package/karma-jasmine)\n\n[![Build Status](https://img.shields.io/travis/karma-runner/karma-jasmine/master.svg?style=flat-square)](https://travis-ci.org/karma-runner/karma-jasmine) [![Dependency Status](https://img.shields.io/david/karma-runner/karma-jasmine.svg?style=flat-square)](https://david-dm.org/karma-runner/karma-jasmine) [![devDependency Status](https://img.shields.io/david/dev/karma-runner/karma-jasmine.svg?style=flat-square)](https://david-dm.org/karma-runner/karma-jasmine#info=devDependencies)\n\n\u003e Adapter for the [Jasmine](http://jasmine.github.io/) testing framework.\n\n\n## Installation\n\n### Jasmine 1.3 ([docs](http://jasmine.github.io/1.3/introduction.html))\n\nThe easiest way is to run\n\n```bash\n$ npm install karma-jasmine@0.1.0 --save-dev\n```\n\n\n### Jasmine 2.0 ([docs](http://jasmine.github.io/2.0/introduction.html))\n\nThe easiest way is run\n\n```bash\n$ npm install karma-jasmine --save-dev\n```\n\n__Note:__\nSince `karma-jasmine 0.3.0` the jasmine library is no longer bundled with `karma-jasmine` and you have to install it on your own. You can simply do it by:\n\n```bash\n$ npm install jasmine-core --save-dev\n```\n\n## Configuration\n\n```js\n// karma.conf.js\nmodule.exports = function(config) {\n  config.set({\n    frameworks: ['jasmine'],\n\n    files: [\n      '*.js'\n    ]\n  })\n}\n```\n\nIf you want to run only some tests matching a given pattern you can do this in the following way\n\n```bash\n$ karma start \u0026\n$ karma run -- --grep=\u003cpattern\u003e\n```\n\nor\n\n```js\nmodule.exports = function(config) {\n  config.set({\n    ...\n    client: {\n      args: ['--grep', '\u003cpattern\u003e'],\n      ...\n    }\n  })\n}\n```\n\nIf you want to pass configuration options directly to jasmine you can do this in the following way\n\n```js\nmodule.exports = function(config) {\n  config.set({\n    client: {\n      jasmine: {\n        random: true,\n        seed: '4321',\n        stopOnFailure: true\n      }\n    }\n  })\n}\n```\n\n----\n\nFor more information on Karma see the [homepage].\n\n\n[homepage]: http://karma-runner.github.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumanjs%2Fkarma-suman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumanjs%2Fkarma-suman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumanjs%2Fkarma-suman/lists"}