aws-connected-device-framework icon indicating copy to clipboard operation
aws-connected-device-framework copied to clipboard

assetlibraryhistory: fix some errors and add test to show the errors

Open aaronatbissell opened this issue 4 months ago • 1 comments

Description

assetlibraryhistory has a couple of use-cases where we are seeing errors. In order to call those out, I've added a few unit tests with some test data. This includes:

  1. Update events where some of the event data stored in dynamo is undefined
  2. An update event where the latest entry doesn't exist
  3. Some optional parameters that were previously required

Type of change

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] Refactor (existing code being refactored)
  • [ ] This change includes a documentation update

Submission Checklist

  • [x] CI dry-run passing
  • [x] Integration tests passing locally
  • [x] Change logs generated
Additional Notes:

aaronatbissell avatar Feb 26 '24 16:02 aaronatbissell

Thank you for your PR, it's on our radar for review.

ts-amz avatar Feb 27 '24 14:02 ts-amz