mirror of
https://github.com/opentofu/setup-opentofu.git
synced 2026-12-01 04:04:28 +01:00
Fixes tests for release.js (#14)
This commit is contained in:
1 parent
abd9f2b70f
commit
8767493626
3 files changed
+5
-36
No files matched your search
@@ -203,8 +203,8 @@ describe('getRelease', () => {
|
||||
|
||||
it.each(
|
||||
[
|
||||
['foo', 'Input version cannot be used, see semver: https://semver.org/spec/v2.0.0.html', undefined],
|
||||
['2.0', 'No matching version found', undefined],
|
||||
['foo', 'Input version cannot be used, see semver: https://semver.org/spec/v2.0.0.html', mockFetchReleases],
|
||||
['2.0', 'No matching version found', mockFetchReleases],
|
||||
['latest', 'No tofu releases found, please contact OpenTofu', async () => { return null; }],
|
||||
['latest', 'No tofu releases found, please contact OpenTofu', async () => { return []; }]
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user