wip update

This commit is contained in:
nickfyson
2024-03-28 12:47:39 +00:00
parent 84ba7fb56d
commit bc5263b2b5
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -193,7 +193,7 @@ ava_1.default.beforeEach(() => {
const sarifFile = `${__dirname}/../src/testdata/with-invalid-uri.sarif`;
uploadLib.validateSarifFileSchema(sarifFile, mockLogger);
t.deepEqual(loggedMessages.length, 1);
t.deepEqual(loggedMessages[0], "Warning: 'not a valid URI' is not a valid URI in 'instance.runs[0].results[0].locations[0].physicalLocation.artifactLocation.uri'.");
t.deepEqual(loggedMessages[0], "Warning: 'not a valid URI' is not a valid UR in 'instance.runs[0].results[0].locations[0].physicalLocation.artifactLocation.uri'.");
});
function createMockSarif(id, tool) {
return {
File diff suppressed because one or more lines are too long