This repository has been archived by the owner on Aug 18, 2020. It is now read-only.
v29.0.0
Added Rules
jest/no-commented-out-tests
disallows commented out tests.(275)jest/no-try-expect
disallowsexpect
calls incatch
blocks (300)node/prefer-promises/dns
andnode/prefer-promises/fs
These rules disallow the callback API in favor of promise API for the dns and fs modules. (257)jest/no-mocks-import
This rule disallows manually importing from__mocks__
(246)react/state-in-constructor
Enforce state initialization to be in a class property. (256)import/no-namespace
Prevents namespace imports. (305)
Changed Rules
shopify/jest/no-vague-titles
considers "necessary" to be invalid/ vague (265)shopify/jest/no-if
now recognizes conditional statements (298) and ignores if statements nested within block statements (299)react-prefer-private-members
no longer incorrectly reporting the members of a parent class if a React class is defined within its constructor. (258)