### Version 28.1.3 ### Steps to reproduce Follow the instructions in the guide for automatic mocks and getters/setters. https://jestjs.io/docs/es6-class-mocks#automatic-mock ### Expected behavior Expect the mock to be created without error ### Actual behavior Error "property does not exist" ### Additional context related to https://github.com/facebook/jest/issues/9675 Currently fixing this issue. Will provide a better bug report in due course. ### Environment ```shell Ubuntu 20.04 ```