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

HMS-5530: add a helper for cleaning up test resources #1009

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dominikvagner
Copy link
Contributor

@dominikvagner dominikvagner commented Mar 6, 2025

Summary

This adds a new helper for cleaning up test resources and a way to use it our API client fixture for pre-test and post-test cleaning up.

Currently this PR includes a dummy test file (`Test.spec.ts`) which is to be deleted, but now 
shows off two ways of approaching cleanups in our test, which should help us make them idempotent. 
Both of these approaches result in the same thing, stuff gets cleaned up pre+post test.
What would you wanna use more? 💭 
Let's vote (on the PR desc): 
- 🚀 = Approach no. 1
- 👀 = Approach no. 2

This adds a new helper for cleaning up test resources and a way to use
it our API client fixture for pre-test and post-test cleaning up.
@jlsherrill
Copy link
Member

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

Successfully merging this pull request may close these issues.

2 participants