You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this package, TsJestTransformer.configsFor() is used in utils/getTsJestConfig function.
But, unfortunately, this method has been deleted on v26.4.2, kulshekhar/ts-jest#2020.
So TypeError: tr.configsFor is not a function error causes on test.
Workaround
downgrade ts-jest version to 26.4.1 or below in package-lock.json(npm) or yarn.lock(yarn)
In this package,
TsJestTransformer.configsFor()
is used in utils/getTsJestConfig function.But, unfortunately, this method has been deleted on v26.4.2, kulshekhar/ts-jest#2020.
So
TypeError: tr.configsFor is not a function
error causes on test.Workaround
downgrade ts-jest version to 26.4.1 or below in
package-lock.json
(npm) oryarn.lock
(yarn)Fixes
plz merge #284 and release
Refs
The text was updated successfully, but these errors were encountered: