INNER CODE UNIT · JavaScript
verifyTransactWriteWithCorrelationIds
getndazn/dazn-lambda-powertools · packages/lambda-powertools-dynamodb-client/__tests__/index.js:469
async function verifyTransactWriteWithCorrelationIds (correlationIds, input, expectations) {
const item = {
name: 'yan',
url: 'https://theburningmonk.com'
}
const params = {
TransactItems: [
{
Put: {
TableName: tableName,
Item: item
}
},
{
Update: {
TableName: tableName,
Key: { Id: 'theburningmonk' },