Skip to content

DynamoDB matcher toContainItemWithValues not found error in spec #39

@meenar-se

Description

@meenar-se

When we try to use the dynamodb toContainItemWithValues matcher in the spec file its throwing an error saying matcher not found.
Example:
expect(tableName).toContainItemWithValues({pk:'ATTACH#1234567', sk: 'ATTACH#1234567', filename: 'test.png'})
Error: Property toContainItemWithValues does not exist on type JestMatchers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions