fix: test typo

This commit is contained in:
ndom91 2024-10-21 18:26:28 +02:00 committed by Nico Domino
parent cca10524bf
commit 6c0033bb33

View File

@ -350,9 +350,9 @@ describe.concurrent('buildDiff', () => {
const expectedOutput2 = `${hunk2.filePath} - ${hunk2.diff}\n${hunk1.filePath} - ${hunk1.diff}`;
const outputMatchesExpectedValue = [expectedOutput1, expectedOutput2].includes(
buildDiff([hunk1, hunk1], 10000)
buildDiff([hunk1, hunk2], 10000)
);
expect(outputMatchesExpectedValue).toBeFalsy();
expect(outputMatchesExpectedValue).toBeTruthy();
});
});