mirror of
https://github.com/codecov/codecov-action.git
synced 2026-05-13 19:36:58 +00:00
Add another test
This commit is contained in:
@@ -26,3 +26,9 @@ test('invalidChecksums', async () => {
|
|||||||
const valid = await validateUploader(script.substring(0, script.length - 1));
|
const valid = await validateUploader(script.substring(0, script.length - 1));
|
||||||
expect(valid).toBeFalsy();
|
expect(valid).toBeFalsy();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
test('invalidVersion', async () => {
|
||||||
|
const script = await bashScript();
|
||||||
|
const valid = await validateUploader(script.substring(0, 20));
|
||||||
|
expect(valid).toBeFalsy();
|
||||||
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user