mirror of
https://github.com/github/codeql-action.git
synced 2026-05-21 09:18:11 +00:00
Fix linting errors
This commit is contained in:
Generated
+3
-3
@@ -343,12 +343,12 @@ async function testFailedSarifUpload(t, actionsWorkflow, { category, databaseExi
|
||||
zipped_upload_size_bytes: 10,
|
||||
});
|
||||
if (databaseExists && exportDiagnosticsEnabled) {
|
||||
t.true(databaseExportDiagnosticsStub.calledOnceWith(config.dbLocation, sinon.match.string, category), `Actual args were: ${databaseExportDiagnosticsStub.args}`);
|
||||
t.true(databaseExportDiagnosticsStub.calledOnceWith(config.dbLocation, sinon.match.string, category), `Actual args were: ${JSON.stringify(databaseExportDiagnosticsStub.args)}`);
|
||||
}
|
||||
else {
|
||||
t.true(diagnosticsExportStub.calledOnceWith(sinon.match.string, category, config), `Actual args were: ${diagnosticsExportStub.args}`);
|
||||
t.true(diagnosticsExportStub.calledOnceWith(sinon.match.string, category, config), `Actual args were: ${JSON.stringify(diagnosticsExportStub.args)}`);
|
||||
}
|
||||
t.true(uploadFiles.calledOnceWith(sinon.match.string, sinon.match.string, category, sinon.match.any, sinon.match.any), `Actual args were: ${uploadFiles.args}`);
|
||||
t.true(uploadFiles.calledOnceWith(sinon.match.string, sinon.match.string, category, sinon.match.any, sinon.match.any), `Actual args were: ${JSON.stringify(uploadFiles.args)}`);
|
||||
t.true(waitForProcessing.calledOnceWith(sinon.match.any, "42", sinon.match.any, {
|
||||
isUnsuccessfulExecution: true,
|
||||
}));
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -393,7 +393,7 @@ async function testFailedSarifUpload(
|
||||
sinon.match.string,
|
||||
category,
|
||||
),
|
||||
`Actual args were: ${databaseExportDiagnosticsStub.args}`,
|
||||
`Actual args were: ${JSON.stringify(databaseExportDiagnosticsStub.args)}`,
|
||||
);
|
||||
} else {
|
||||
t.true(
|
||||
@@ -402,7 +402,7 @@ async function testFailedSarifUpload(
|
||||
category,
|
||||
config,
|
||||
),
|
||||
`Actual args were: ${diagnosticsExportStub.args}`,
|
||||
`Actual args were: ${JSON.stringify(diagnosticsExportStub.args)}`,
|
||||
);
|
||||
}
|
||||
t.true(
|
||||
@@ -413,7 +413,7 @@ async function testFailedSarifUpload(
|
||||
sinon.match.any,
|
||||
sinon.match.any,
|
||||
),
|
||||
`Actual args were: ${uploadFiles.args}`,
|
||||
`Actual args were: ${JSON.stringify(uploadFiles.args)}`,
|
||||
);
|
||||
t.true(
|
||||
waitForProcessing.calledOnceWith(sinon.match.any, "42", sinon.match.any, {
|
||||
|
||||
Reference in New Issue
Block a user