Clarify test fail;ure message

This commit is contained in:
Andrew Eisenberg 2025-01-27 10:51:01 -08:00
parent 62c322fad9
commit a879704805
3 changed files with 3 additions and 3 deletions

View file

@ -86,7 +86,7 @@ const util_1 = require("./util");
const logger = (0, logging_1.getActionsLogger)();
await t.notThrowsAsync(async () => {
const uploaded = await debugArtifacts.uploadDebugArtifacts(logger, ["hucairz"], "i-dont-exist", "artifactName", util_1.GitHubVariant.DOTCOM, "2.20.2");
t.is(uploaded, "upload-not-supported", "Expect failure to upload artifacts since root dir does not exist");
t.is(uploaded, "upload-not-supported", "Expected artifact upload to be blocked because of old CodeQL version");
});
});
//# sourceMappingURL=debug-artifacts.test.js.map