Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-jasmine

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-jasmine - npm Package Compare versions

Comparing version 1.3.1 to 1.4.0

docs/rules/missing-expect.md

6

index.js

@@ -8,3 +8,4 @@ 'use strict';

'no-suite-dupes': require('./lib/rules/no-suite-dupes'),
'no-spec-dupes': require('./lib/rules/no-spec-dupes')
'no-spec-dupes': require('./lib/rules/no-spec-dupes'),
'missing-expect': require('./lib/rules/missing-expect')
},

@@ -15,4 +16,5 @@ rulesConfig: {

'no-suite-dupes': 1,
'no-spec-dupes': 1
'no-spec-dupes': 1,
'missing-expect': 0
}
};

@@ -5,5 +5,2 @@ {

"main": "index.js",
"peerDependencies": {
"eslint": ">=0.8.0"
},
"directories": {

@@ -36,9 +33,8 @@ "doc": "docs",

"devDependencies": {
"eslint": "^0.24.1",
"eslint": "^1.1.0",
"eslint-config-tlvince": "^1.2.0",
"eslint-tester": "0.8.1",
"mocha": "^2.2.5",
"semantic-release": "^4.0.2"
},
"version": "1.3.1"
"version": "1.4.0"
}

@@ -29,8 +29,9 @@ # eslint-plugin-jasmine

Rule | Default | Options
---- | ------- | -------
[no-focused-tests][] | 2 |
[no-disabled-tests][] | 1 |
[no-spec-dupes][] | 1, 'block' | ['block', 'branch']
[no-suite-dupes][] | 1, 'block' | ['block', 'branch']
Rule | Default | Options
---- | ------- | -------
[no-focused-tests][] | 2 |
[no-disabled-tests][] | 1 |
[no-spec-dupes][] | 1, 'block' | ['block', 'branch']
[no-suite-dupes][] | 1, 'block' | ['block', 'branch']
[missing-expect][] | 0, 'expect()' | expectation function names

@@ -59,2 +60,3 @@ For example, the `no-focused-tests` rule is enabled by default and will cause

[no-suite-dupes]: docs/rules/no-suite-dupes.md
[missing-expect]: docs/rules/missing-expect.md
[configuring rules]: http://eslint.org/docs/user-guide/configuring#configuring-rules

@@ -61,0 +63,0 @@

'use strict';
var linter = require('eslint').linter;
var ESLintTester = require('eslint-tester');
var rule = require('../../lib/rules/no-disabled-tests');
var RuleTester = require('eslint').RuleTester;
var eslintTester = new ESLintTester(linter);
var eslintTester = new RuleTester();
eslintTester.addRuleTest('lib/rules/no-disabled-tests', {
eslintTester.run('no-disabled-tests', rule, {
valid: [

@@ -10,0 +10,0 @@ 'describe("", function() {})',

'use strict';
var linter = require('eslint').linter;
var ESLintTester = require('eslint-tester');
var rule = require('../../lib/rules/no-focused-tests');
var RuleTester = require('eslint').RuleTester;
var eslintTester = new ESLintTester(linter);
var eslintTester = new RuleTester();
eslintTester.addRuleTest('lib/rules/no-focused-tests', {
eslintTester.run('no-focused-tests', rule, {
valid: [

@@ -10,0 +10,0 @@ 'describe("", function() {})',

'use strict';
var linter = require('eslint').linter;
var ESLintTester = require('eslint-tester');
var rule = require('../../lib/rules/no-spec-dupes');
var RuleTester = require('eslint').RuleTester;
var eslintTester = new ESLintTester(linter);
var eslintTester = new RuleTester();

@@ -20,3 +20,3 @@ /*

eslintTester.addRuleTest('lib/rules/no-spec-dupes', {
eslintTester.run('no-spec-dupes', rule, {
valid: [

@@ -53,4 +53,3 @@ // default

{
args: [
2,
options: [
'block'

@@ -66,4 +65,3 @@ ],

{
args: [
2,
options: [
'branch'

@@ -77,4 +75,3 @@ ],

{
args: [
2,
options: [
'branch'

@@ -92,4 +89,3 @@ ],

{
args: [
2,
options: [
'branch'

@@ -109,4 +105,3 @@ ],

{
args: [
2,
options: [
'branch'

@@ -123,4 +118,3 @@ ],

{
args: [
2,
options: [
'branch'

@@ -169,4 +163,3 @@ ],

{
args: [
2,
options: [
'block'

@@ -186,4 +179,3 @@ ],

{
args: [
2,
options: [
'block'

@@ -211,4 +203,3 @@ ],

{
args: [
2,
options: [
'branch'

@@ -228,4 +219,3 @@ ],

{
args: [
2,
options: [
'branch'

@@ -232,0 +222,0 @@ ],

'use strict';
var linter = require('eslint').linter;
var ESLintTester = require('eslint-tester');
var rule = require('../../lib/rules/no-suite-dupes');
var RuleTester = require('eslint').RuleTester;
var eslintTester = new ESLintTester(linter);
var eslintTester = new RuleTester();

@@ -20,3 +20,3 @@ /*

eslintTester.addRuleTest('lib/rules/no-suite-dupes', {
eslintTester.run('no-suite-dupes', rule, {
valid: [

@@ -53,4 +53,3 @@ // default

{
args: [
2,
options: [
'block'

@@ -66,4 +65,3 @@ ],

{
args: [
2,
options: [
'branch'

@@ -77,4 +75,3 @@ ],

{
args: [
2,
options: [
'branch'

@@ -92,4 +89,3 @@ ],

{
args: [
2,
options: [
'branch'

@@ -109,4 +105,3 @@ ],

{
args: [
2,
options: [
'branch'

@@ -152,4 +147,3 @@ ],

{
args: [
2,
options: [
'block'

@@ -169,4 +163,3 @@ ],

{
args: [
2,
options: [
'block'

@@ -193,4 +186,3 @@ ],

{
args: [
2,
options: [
'branch'

@@ -210,4 +202,3 @@ ],

{
args: [
2,
options: [
'branch'

@@ -233,4 +224,3 @@ ],

{
args: [
2,
options: [
'branch'

@@ -237,0 +227,0 @@ ],

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc