Does anyone else run into “Cannot find a handler f...
# help
j
Does anyone else run into “Cannot find a handler file for” when using Jest and
new sst.Function
? https://github.com/serverless-stack/serverless-stack/issues/868
t
Hey Joe, can you specify the handler relatively?
instead of appending to dir
j
I tried that. The solution was to just use the sst construct for Auth as opposed to making a custom one for cognito triggers. Please note that this is only a bug when running tests and does not occur when building or deploying