Looking for an assist here - when upgrading SST fo...
# sst
c
Looking for an assist here - when upgrading SST for some reason my typescript jest tests all broke. Seems something with the hoisting of mock functions is going on… Made a repo to reproduce the issue just run
npm test
and tests will fail where as they work on version
0.43.3
repo: https://github.com/colin-h/sst-jest-bug
t
I suggest calling
jest
directly instead of going through SST
sst test
is fairly barebones and won't work with things that are more sophisticated
c
Cool. Using the direct jest commands and some setup has fixed this. Not sure what root cause is though