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

Add an example of unit testing with Jest #1233

Merged
merged 3 commits into from
Jun 17, 2022
Merged

Conversation

cnunciato
Copy link
Member

This example shows how to write unit tests with Jest. It was written to accompany the blog post at https://www.pulumi.com/blog/testing-pulumi-programs-with-jest/.

@cnunciato cnunciato requested a review from a team June 14, 2022 00:48
testing-unit-ts-mocks-jest/resources.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@nimbinatus nimbinatus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some notes for the README. I don't know much about Jest, but it looks right? I'd lean on someone else for that part of the review.

testing-unit-ts-mocks-jest/README.md Outdated Show resolved Hide resolved
@cnunciato cnunciato merged commit 69c9a72 into master Jun 17, 2022
@pulumi-bot pulumi-bot deleted the cnunciato/add-jest-example branch June 17, 2022 19:27
@joeduffy joeduffy mentioned this pull request Jun 17, 2022
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

Successfully merging this pull request may close these issues.

None yet

3 participants