Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot set property getManager of #<Object> which has only a getter #8091

Closed
juthakiat opened this issue Aug 16, 2021 · 1 comment

Comments

@juthakiat
Copy link

juthakiat commented Aug 16, 2021

Issue type:
[x] Bug Report

NodeJS
14.17.3

Database
mysql 5.6.10

TypeORM version:
^0.2.37

I got this error while running jest command

TypeError: Cannot set property getManager of #<Object> which has only a getter

      at ../node_modules/jest-mock/build/index.js:806:32
          at Set.forEach (<anonymous>)

Remark
I have try the workaround from the issue
#6054
however, it doesn't work for me.

@imnotjames
Copy link
Contributor

This is more an issue with how you're using jest rather than a bug in TypeORM

Duplicate of #5308

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants