Release v27.0.0 · jest-community/eslint-plugin-jest · GitHub
DRANK
27.0.0 (2022-08-28) Bug Fixes unbound-method: don't suppress errors from base rule (#1219) (7c1389e) Features drop support for eslint@6 (#1212) (21fc2fe) drop support for Node versions 12 and 17...
1 comments
Jestのmatcherにはエイリアスがある。
toHaveBeenCalledならtoBeCalled、
toThrowなら toThrowErrorなど。
しかし、v30でエイリアスは削除される。
github.com/facebook/jest/…
eslint-plugin-jestではすでにrecommended扱いに。
github.com/jest-community…
サクッとfixしましょう。
#jest #javascript