Skip to content

Conversation

@MSpencer87
Copy link
Contributor

No description provided.

@MSpencer87 MSpencer87 force-pushed the more-tests branch 2 times, most recently from 0b3be40 to fd19535 Compare November 6, 2025 16:47
@MSpencer87 MSpencer87 marked this pull request as ready for review November 6, 2025 17:19
Copy link
Contributor

@git-ival git-ival left a comment

Choose a reason for hiding this comment

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

Looks good but I have some thoughts mostly around the code structure. I think we should try and make the functions in the utils as generic as possible.

To that end, maybe we have the metadata and data be separate parameters to our util functions for API requests like these (see the secrets-oriented functions for example). That way you can pass in any valid metadata + data and have it work™️. I think we would also want to default to the currently hardcoded defaults if they are not passed in*

@git-ival
Copy link
Contributor

Nitpick: can we rename the functions in generic_utils.js to use the singular tense (since they don't create multiple secrets)?

It would also be good to return the res object in case future tests might benefit from having access to the full response data.

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