fix tests

This commit is contained in:
Robert Brignull 2020-05-22 17:06:14 +01:00
parent 10a2fd615f
commit 8fb9090674
3 changed files with 5 additions and 1 deletions

View file

@ -19,5 +19,7 @@ ava_1.default('validateSarifFileSchema - valid', t => {
ava_1.default('validateSarifFileSchema - invalid', t => {
const inputFile = __dirname + '/../src/testdata/invalid-sarif.sarif';
t.false(uploadLib.validateSarifFileSchema(inputFile));
// validateSarifFileSchema calls core.setFailed which sets the exit code on error
process.exitCode = 0;
});
//# sourceMappingURL=upload-lib.test.js.map