Skip to content

Commit

Permalink
Add another test
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu committed Apr 16, 2021
1 parent 040839f commit 83cbbf8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/validate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,9 @@ test('invalidChecksums', async () => {
const valid = await validateUploader(script.substring(0, script.length - 1));
expect(valid).toBeFalsy();
});

test('invalidVersion', async () => {
const script = await bashScript();
const valid = await validateUploader(script.substring(0, 20));
expect(valid).toBeFalsy();
});

0 comments on commit 83cbbf8

Please sign in to comment.