Socket
Socket
Sign inDemoInstall

eslint-plugin-jest

Package Overview
Dependencies
Maintainers
9
Versions
325
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-jest - npm Package Compare versions

Comparing version 21.22.1 to 21.23.0

docs/rules/require-tothrow-message.md

2

index.js

@@ -24,2 +24,3 @@ 'use strict';

const preferStrictEqual = require('./rules/prefer-strict-equal');
const requireTothrowMessage = require('./rules/require-tothrow-message');

@@ -93,3 +94,4 @@ const snapshotProcessor = require('./processors/snapshot-processor');

'prefer-strict-equal': preferStrictEqual,
'require-tothrow-message': requireTothrowMessage,
},
};

2

package.json
{
"name": "eslint-plugin-jest",
"version": "21.22.1",
"version": "21.23.0",
"description": "Eslint rules for Jest",

@@ -5,0 +5,0 @@ "repository": "jest-community/eslint-plugin-jest",

@@ -101,2 +101,3 @@ [![Build Status](https://travis-ci.org/jest-community/eslint-plugin-jest.svg?branch=master)](https://travis-ci.org/jest-community/eslint-plugin-jest)

| [prefer-inline-snapshots][] | Suggest using `toMatchInlineSnapshot()` | | ![fixable-green][] |
| [require-tothrow-message][] | Require that `toThrow()` and `toThrowError` includes a message | | |
| [valid-describe][] | Enforce valid `describe()` callback | | |

@@ -129,2 +130,3 @@ | [valid-expect-in-promise][] | Enforce having return statement when testing with promises | | |

[prefer-inline-snapshots]: docs/rules/prefer-inline-snapshots.md
[require-tothrow-message]: docs/rules/require-tothrow-message.md
[valid-describe]: docs/rules/valid-describe.md

@@ -131,0 +133,0 @@ [valid-expect-in-promise]: docs/rules/valid-expect-in-promise.md

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