jest-expect-message icon indicating copy to clipboard operation
jest-expect-message copied to clipboard

Extend eslint - jest/valid-expect - to allow 2nd optional argument for message.

Open alee8 opened this issue 6 years ago • 2 comments

Feature Request

Description: Add/modify eslint rule - jest/valid-expect - to allow for 2nd optional message argument/

Possible solution: While the 2nd optional argument for message works. Eslint's jest/valid-expect rule fires unless disabled above. Extend the current jest/valid-expect rule with additional value such as allow-message

alee8 avatar Dec 03 '18 16:12 alee8

@alee8 did you find a way to just disable the linting for additional properties only? I couldn't find a way in either of the eslint/jest-plugin docs - I just set the rule to "off" for now.

0b10 avatar Oct 06 '19 13:10 0b10

@mattphillips this issue has been closed by https://github.com/jest-community/eslint-plugin-jest/pull/584

G-Rath avatar May 16 '20 09:05 G-Rath