action-gh-release/__tests__
Ryan Waskiewicz b585fed8fa
add tests for finding tag from releases
add tests for updated functionality to break when we find a release.
the logic has been extracted into its own function, to make testing
simpler by avoiding over mocking/stubbing of network calls that would
create or update a release.

the tests that were added use jest's describe/it blocks, but use node's
assert function to align with other tests. there isn't any prior art for
mocking function calls in the codebase, so for now we use simple promises
in "mock" objects that adhere to the Releaser interface
2025-04-16 12:17:45 -04:00
..
github.test.ts add tests for finding tag from releases 2025-04-16 12:17:45 -04:00
release.txt honor body_path input when provided. fixes #22 2019-09-29 02:15:58 -04:00
util.test.ts feature: preserve upload order (#500) 2024-11-11 15:14:02 -05:00