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

[test-utils] Update to 2.0 #29573

Open
wants to merge 30 commits into
base: main
Choose a base branch
from
Open

[test-utils] Update to 2.0 #29573

wants to merge 30 commits into from

Conversation

mpodwysocki
Copy link
Contributor

Packages impacted by this PR

  • @azure-tools/test-utils

Issues associated with this PR

Describe the problem that is addressed by this PR

Migrate the @azure-tools/test-utils to vitest and ESM.

What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?

Are there test cases added in this PR? (If not, why?)

Provide a list of related PRs (if any)

Command used to generate this PR:**(Applicable only to SDK release request PRs)

Checklists

  • Added impacted package name to the issue description
  • Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
  • Added a changelog (if necessary)

@github-actions github-actions bot added the test-utils Label for the issues related to the @azure/test-utils package label May 3, 2024
Copy link
Member

@xirzec xirzec left a comment

Choose a reason for hiding this comment

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

Seems like the right direction, just some nits about how we augment the assertion helpers

sdk/test-utils/test-utils/src/chaiAzure.ts Outdated Show resolved Hide resolved
Copy link
Member

@maorleger maorleger left a comment

Choose a reason for hiding this comment

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

LGTM!

@mpodwysocki mpodwysocki enabled auto-merge (squash) May 8, 2024 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test-utils Label for the issues related to the @azure/test-utils package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants