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

@ -10,4 +10,6 @@ test('validateSarifFileSchema - valid', t => {
test('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;
});