Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DynamoDB matcher toContainItemWithValues not found error in spec #39

Open
meenar-se opened this issue Mar 6, 2022 · 1 comment
Open

Comments

@meenar-se
Copy link
Contributor

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

@meenar-se
Copy link
Contributor Author

@agwhi - Can you please review this #37. Have also added the fix for this issue in that PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant