Skip to content

Commit

Permalink
test(engine): mocklog 에서 fileChange로 이름 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
yoouyeon committed Sep 5, 2024
1 parent f29fd92 commit 4183ba6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/analysis-engine/src/parser.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ describe("getCommitRaws", () => {
});
});

testCommitFileChanges.forEach((mockLog, index) => {
testCommitFileChanges.forEach((fileChange, index) => {
it(`should parse gitlog to commitRaw(file changed)`, () => {
const mock = `${COMMIT_SEPARATOR}${testCommitHashAndRefs[0]}${testAuthorAndCommitter}${testCommitMessage}\n${mockLog}`;
const mock = `${COMMIT_SEPARATOR}${testCommitHashAndRefs[0]}${testAuthorAndCommitter}${testCommitMessage}\n${fileChange}`;
const result = getCommitRaws(mock);
const expectedResult = { ...commonExpectatedResult, differenceStatistic: expectedFileChanged[index] };

Expand Down

0 comments on commit 4183ba6

Please sign in to comment.