Join Slack
Powered by
Hi <@U01JVDKASAC> I was wondering if I could get s...
# general
s
Sean Matheson
06/06/2022, 7:57 AM
Hi
@Frank
I was wondering if I could get some insight/explanation for the following code from the
NextjsSite
construct;
Sean Matheson
06/06/2022, 7:58 AM
How exactly is Jest involved in this workflow? Via the CDK tests? And if so why and how is there a separate build output directory?
Sean Matheson
06/06/2022, 7:59 AM
Apologies for the direct ping. The Git blame has your name against the commit. 😅
Sean Matheson
06/06/2022, 8:53 AM
Apologies, ignore me. I can see it's meant for the internal tests against the
NextjsSite
construct.
f
Frank
06/06/2022, 2:48 PM
haha git blame makes me look dumb 😅
Frank
06/06/2022, 2:48 PM
We needed a way to skip building the Next.js app when running internal SST tests.
Frank
06/06/2022, 2:49 PM
There’s probably a better way to achieve this.
Frank
06/06/2022, 2:50 PM
And we also moved away from using Jest (using Vitest). I can see how the naming is super confusing.
Frank
06/06/2022, 2:59 PM
Renamed the method names
https://github.com/serverless-stack/serverless-stack/pull/1782
Open in Slack
Previous
Next