Getting a weird test failure after updating to SST...
# help
g
Getting a weird test failure after updating to SST 1.X.
k
@Geoff Seemueller Just a wild guess, but if you are not pulling the module, then delete your
node_modules
folder and package.lock / yarn.lock file + run
npm i
/
yarn
again
g
tried the yarn.lock trick but no dice, going through the changelog again to see where I might have went wrong
Got it to work...Just ended up using
Copy code
jest.mock('@aws-cdk/aws-apigatewayv2-authorizers-alpha');
No idea where that module usage is coming from
d
Its from the
Api
construct of SST.