mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-13 06:27:26 +00:00
Add another test
This commit is contained in:
parent
040839f579
commit
83cbbf806b
1 changed files with 6 additions and 0 deletions
|
|
@ -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();
|
||||||
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue