From eslint:
Jest is automatically in scope. Do not import "jest", as Jest doesn't export anything.
However this only stands for test files, jest is not automatically in the scope of other files and this causes a false positive, which can be safely ignored with an eslint single line error ignre comment.