{"id":18437207,"url":"https://github.com/power-assert-js/karma-power-assert","last_synced_at":"2025-04-07T20:34:03.859Z","repository":{"id":57288506,"uuid":"58633184","full_name":"power-assert-js/karma-power-assert","owner":"power-assert-js","description":"A Karma plugin. Adapter for power-assert assertion library.","archived":false,"fork":false,"pushed_at":"2020-07-13T21:39:16.000Z","size":24,"stargazers_count":11,"open_issues_count":2,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-23T00:24:30.725Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://npm.im/karma-power-assert","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/power-assert-js.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-05-12T10:49:49.000Z","updated_at":"2020-01-07T16:19:51.000Z","dependencies_parsed_at":"2022-09-06T21:03:55.366Z","dependency_job_id":null,"html_url":"https://github.com/power-assert-js/karma-power-assert","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/power-assert-js%2Fkarma-power-assert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/power-assert-js%2Fkarma-power-assert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/power-assert-js%2Fkarma-power-assert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/power-assert-js%2Fkarma-power-assert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/power-assert-js","download_url":"https://codeload.github.com/power-assert-js/karma-power-assert/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247725946,"owners_count":20985798,"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-06T06:14:05.820Z","updated_at":"2025-04-07T20:33:58.835Z","avatar_url":"https://github.com/power-assert-js.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# karma-power-assert\n\n[![npm version](https://img.shields.io/npm/v/karma-power-assert.svg?style=flat-square)](https://www.npmjs.com/package/karma-power-assert) [![npm downloads](https://img.shields.io/npm/dm/karma-power-assert.svg?style=flat-square)](https://www.npmjs.com/package/karma-power-assert)\n\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/power-assert-js/karma-power-assert) [![Standard Version](https://img.shields.io/badge/release-standard%20version-brightgreen.svg?style=flat-square)](https://github.com/power-assert-js/karma-power-assert)\n\n[![Build Status](https://img.shields.io/travis/power-assert-js/karma-power-assert/master.svg?style=flat-square)](https://travis-ci.org/power-assert-js/karma-power-assert) [![Dependency Status](https://img.shields.io/david/power-assert-js/karma-power-assert.svg?style=flat-square)](https://david-dm.org/power-assert-js/karma-power-assert) [![devDependency Status](https://img.shields.io/david/dev/power-assert-js/karma-power-assert.svg?style=flat-square)](https://david-dm.org/power-assert-js/karma-power-assert#info=devDependencies)\n\n\u003e Adapter for [power-assert](https://github.com/power-assert-js/power-assert) assertion library.\n\n## Installation\nvia npm\n```bash\n$ npm install karma-power-assert --save-dev\n```\n\nInstructions on how to install `karma` can be found [here.](http://karma-runner.github.io/0.12/intro/installation.html)\n\n\n## Configuration\nFollowing code shows the default configuration...\n```js\n// karma.conf.js\nmodule.exports = function(config) {\n  config.set({\n    frameworks: ['mocha', 'power-assert'],\n\n    files: [\n      '*.js'\n    ],\n\n    preprocessors: {\n      'test/**/*.spec.js': ['espower']\n    }\n  });\n};\n```\n\nIf you want to pass configuration options directly to `assert.customize` you can\ndo this in the following way\n\n```js\n// karma.conf.js\nmodule.exports = function(config) {\n  config.set({\n    frameworks: ['mocha', 'power-assert'],\n\n    files: [\n      '*.js'\n    ],\n\n    preprocessors: {\n      'test/**/*.spec.js': ['espower']\n    },\n\n    client: {\n      assert: {\n        output: {\n          maxDepth: 2\n        }\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%2Fpower-assert-js%2Fkarma-power-assert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpower-assert-js%2Fkarma-power-assert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpower-assert-js%2Fkarma-power-assert/lists"}