{"agent":"claude","input":"In typescript/api-cors-lambda-crud-dynamodb, write Jest tests with aws-cdk-lib/assertions for the synthesized template. If index.ts synthesizes the app at import time, move the App construction and synth into a separate entry file and update cdk.json so tests can build their own stack. Add a test script to package.json that uses the existing jest.config.js. Assert the table's key schema, attribute types, table name and billing mode as synthesized; each Lambda's runtime and environment variables, with TABLE_NAME matched as a reference to the table; every API resource and method; and the CORS OPTIONS method and its Access-Control-Allow-* headers on each resource. Add a snapshot of the full template with asset hashes normalised. Do not change the stack's resources; if a test shows something inconsistent, assert today's value and report it. Run npm install and npm test until it passes, with no AWS credentials, and open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}