Closed kevinschwarz closed 3 years ago
@kevinschwarz Thanks for bringing this to our attention. I recreated the steps and confirm this is a bug. We're working on resolving it and will publish the fix as soon as possible.
In the mean time if you want to fix the unit tests for yourself, I suggest adding a jest.config.js
file just like the one we have in version 1.5.0. It should resolve this issue.
Issue is addressed by including the missing jest.config.js file in this commit. Thanks @kevinschwarz for raising the issue.
A clear and concise description of what the bug is.
Details:
FAIL test/cognito-api-lambdas-construct.test.ts ● Test suite failed to run
Steps to reproduce the behavior
Expected Result
A clear and concise description of what you expected to happen. Exptected tests to pass
Actual Result
A description of what is the result and/or error messages you got when you faced this issue. Test Suites: 10 failed, 10 passed, 20 total
Other information:
Version of the Solution (e.g., v1.1.0):
To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "(SO0027) AWS Serverless Bot Framework v1.2.0 - This AWS CloudFormation template helps you provision the AWS Serverless Bot Framework stack without worrying about creating and configuring the underlying AWS infrastructure". If the description does not contain the version information, you can look at the mappings section of the template:
Stack Parameters
Cloudformation Stack Parameters (please DO NOT include sensitive information like S3 bucket name, IP address, credentials, etc):
Additional context
Add any other context about the problem here.