Skip to content

Commit 73fbfb0

Browse files
mbgCopilot
andauthored
Update src/upload-sarif.test.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 5fd2cfe commit 73fbfb0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/upload-sarif.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,15 @@ const uploadSarifMacro = test.macro({
132132
const actual = await uploadSarif(logger, features, "", testPath);
133133

134134
for (const analysisKind of Object.values(AnalysisKind)) {
135-
const analyisKindResult = expectedResult[analysisKind];
136-
if (analyisKindResult) {
135+
const analysisKindResult = expectedResult[analysisKind];
136+
if (analysisKindResult) {
137137
// We are expecting a result for this analysis kind, check that we have it.
138-
t.deepEqual(actual[analysisKind], analyisKindResult.uploadResult);
138+
t.deepEqual(actual[analysisKind], analysisKindResult.uploadResult);
139139
// Additionally, check that the mocked `uploadSpecifiedFiles` was called with only the file paths
140140
// that we expected it to be called with.
141141
t.assert(
142142
uploadSpecifiedFiles.calledWith(
143-
analyisKindResult.expectedFiles?.map(toFullPath) ??
143+
analysisKindResult.expectedFiles?.map(toFullPath) ??
144144
fullSarifPaths,
145145
sinon.match.any,
146146
sinon.match.any,

0 commit comments

Comments
 (0)