[{"data":1,"prerenderedAt":60},["ShallowReactive",2],{"pattern-lambda-durable-testing-typescript-sam":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":13,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":26,"language":33,"level":34,"meta":35,"patternArch":36,"resources":41,"s3URL":6,"services":6,"stem":55,"testing":56,"videoId":6,"__hash__":59},"patterns\u002Fpatterns\u002Flambda-durable-testing-typescript-sam.json","Testing AWS Lambda durable functions in TypeScript",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11,12],"content\u002Fcontributors\u002Fabhishek-agawane.json","content\u002Fcontributors\u002Feric-johnson.json",{"text":14},[15,16],"sam build","sam deploy --guided","Comprehensive testing strategies for AWS Lambda durable functions using local and cloud test runners with TypeScript","json","AWS SAM",{"template":21},{"repoURL":22,"templateURL":23,"projectFolder":24,"templateFile":25},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-durable-testing-typescript-sam","serverless-patterns\u002Flambda-durable-testing-typescript-sam","lambda-durable-testing-typescript-sam","template.yaml",{"headline":27,"text":28},"How it works",[29,30,31,32],"This pattern demonstrates comprehensive testing strategies for AWS Lambda durable functions using the Durable Execution SDK testing library.","It includes five key testing scenarios: basic workflows with wait operations, retry logic validation, callback testing for external events, parallel operations testing, and nested function composition.","The pattern uses LocalDurableTestRunner for fast local testing with time-skipping and CloudDurableTestRunner for integration testing against deployed functions.","All tests demonstrate best practices including operation inspection, mock external dependencies, callback simulation, and function registration for nested workflows.","TypeScript","200",{},{"icon1":37},{"x":38,"y":38,"service":39,"label":40},50,"lambda","AWS Lambda durable functions",{"bullets":42},[43,46,49,52],{"text":44,"link":45},"AWS Lambda durable functions Documentation","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fdurable-functions.html",{"text":47,"link":48},"Durable Execution SDK for JavaScript\u002FTypeScript","https:\u002F\u002Fgithub.com\u002Faws\u002Faws-durable-execution-sdk-js",{"text":50,"link":51},"Durable Execution SDK Testing Library","https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@aws\u002Fdurable-execution-sdk-js-testing",{"text":53,"link":54},"Testing AWS Lambda durable functions in TypeScript (Blog Post)","https:\u002F\u002Fdev.to\u002Faws\u002Ftesting-aws-lambda-durable-functions-in-typescript-5bj2","patterns\u002Flambda-durable-testing-typescript-sam",{"text":57},[58],"See the GitHub repo for detailed testing instructions.","KvBzc5vgtLnAXc7XpOX5aEsZHe6JMKnl9FqOZbytOT0",1779964504282]