assertServerless
assertServerless(
testing,env?):string|undefined
Defined in: packages/core/src/serverless.ts:26
Boot check for testing on a serverless host. Returns a warning to log, or undefined when
there is nothing to say; throws on AWS Lambda. Does nothing without testing, or when
STORYSHELF_ALLOW_SERVERLESS=1.
Parameters
Section titled “Parameters”testing
Section titled “testing”boolean
ProcessEnv = process.env
Returns
Section titled “Returns”string | undefined