karma-jasmine
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -462,7 +462,6 @@ (function(window) { | ||
this.specIdsToRun = | ||
getSpecsToRun(window.location, clientConfig, jasmineEnv).map(getId) | ||
this.specIdsToRun = new Set(getSpecsToRun(window.location, clientConfig, jasmineEnv).map(getId)) | ||
this.matches = function (spec) { | ||
return this.specIdsToRun.indexOf(spec.id) !== -1 | ||
return this.specIdsToRun.has(spec.id) | ||
} | ||
@@ -469,0 +468,0 @@ } |
{ | ||
"name": "karma-jasmine", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "A Karma plugin - adapter for Jasmine testing framework.", | ||
@@ -40,11 +40,12 @@ "main": "lib/index.js", | ||
"@semantic-release/npm": "^9.0.1", | ||
"eslint": "^8.13.0", | ||
"eslint-config-standard": "^14.1.1", | ||
"eslint": "^7.32.0", | ||
"eslint-config-standard": "^16.0.3", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-promise": "^6.0.0", | ||
"eslint-plugin-promise": "^5.2.0", | ||
"eslint-plugin-standard": "^4.1.0", | ||
"grunt": "^1.5.2", | ||
"husky": "^4.3.8", | ||
"jasmine": "^4.1.0", | ||
"karma": "^6.3.17", | ||
"karma": "^6.3.18", | ||
"karma-firefox-launcher": "^2.1.2", | ||
@@ -71,6 +72,6 @@ "semantic-release": "^19.0.2" | ||
"Friedel Ziegelmayer <dignifiedquire@gmail.com>", | ||
"XhmikosR <xhmikosr@gmail.com>", | ||
"olegskl <sklyanchuk@gmail.com>", | ||
"XhmikosR <xhmikosr@gmail.com>", | ||
"semantic-release-bot <semantic-release-bot@martynus.net>", | ||
"dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>", | ||
"semantic-release-bot <semantic-release-bot@martynus.net>", | ||
"dignifiedquire <dignifiedquire@gmail.com>", | ||
@@ -88,2 +89,3 @@ "Cornelius Schmale <github@cschmale.de>", | ||
"Dmitriy Tychshenko <dtychshenko@users.noreply.github.com>", | ||
"Flavian Hautbois <flavian@apricity.life>", | ||
"Georgii Dolzhykov <thorn.mailbox@gmail.com>", | ||
@@ -103,2 +105,3 @@ "Gregg Van Hove <gvanhove@pivotal.io>", | ||
"Sahat Yalkabov <sakhat@gmail.com>", | ||
"Sampo Kivistö <sampo.kivisto@visma.com>", | ||
"Schaaf, Martin <703355+mschaaf@users.noreply.github.com>", | ||
@@ -105,0 +108,0 @@ "Sergey Tatarintsev <sevinf@yandex-team.ru>", |
@@ -7,3 +7,3 @@ # karma-jasmine | ||
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen?style=flat-square)](https://github.com/karma-runner/karma-jasmine) | ||
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079)](https://github.com/semantic-release/semantic-release) | ||
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079?style=flat-square)](https://github.com/semantic-release/semantic-release) | ||
@@ -25,3 +25,2 @@ > Adapter for the [Jasmine](https://jasmine.github.io/) testing framework. | ||
frameworks: ['jasmine'], | ||
files: [ | ||
@@ -34,3 +33,3 @@ '*.js' | ||
If you want to run only some tests matching a given pattern you can do this in the following way | ||
If you want to run only some tests whose name match a given pattern you can do this in the following way | ||
@@ -42,11 +41,13 @@ ```bash | ||
or | ||
where pattern is either a string (e.g `--grep=#slow` runs tests containing "#slow") or a Regex (e.g `--grep=/^(?!.*#slow).*$/` runs tests _not_ containing "#slow"). | ||
You can also pass it to `karma.config.js`: | ||
```js | ||
module.exports = function(config) { | ||
config.set({ | ||
... | ||
// ... | ||
client: { | ||
args: ['--grep', '<pattern>'], | ||
... | ||
// ... | ||
} | ||
@@ -89,2 +90,2 @@ }) | ||
For more information on Karma see the [homepage](https://karma-runner.github.com/). | ||
For more information on Karma see the [homepage](https://karma-runner.github.io/). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25967
87
18
544