Skip to content

Commit

Permalink
Automated lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ssigwart committed Dec 5, 2024
1 parent 308ba10 commit e1ea97c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions app/test/unit/git/log-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ describe('git/log', () => {
expect(first.files[0].status).toEqual({
kind: AppFileStatusKind.Renamed,
oldPath: 'NEW.md',
"renameIncludesModifications": true,
"submoduleStatus": undefined,
renameIncludesModifications: true,
submoduleStatus: undefined,
})

const second = await getChangedFiles(repository, 'c898ca8')
Expand All @@ -94,8 +94,8 @@ describe('git/log', () => {
expect(second.files[0].status).toEqual({
kind: AppFileStatusKind.Renamed,
oldPath: 'OLD.md',
"renameIncludesModifications": false,
"submoduleStatus": undefined,
renameIncludesModifications: false,
submoduleStatus: undefined,
})
})

Expand All @@ -115,16 +115,16 @@ describe('git/log', () => {
expect(changesetData.files[0].status).toEqual({
kind: AppFileStatusKind.Copied,
oldPath: 'initial.md',
"renameIncludesModifications": false,
"submoduleStatus": undefined,
renameIncludesModifications: false,
submoduleStatus: undefined,
})

expect(changesetData.files[1].path).toBe('duplicate.md')
expect(changesetData.files[1].status).toEqual({
kind: AppFileStatusKind.Copied,
oldPath: 'initial.md',
"renameIncludesModifications": false,
"submoduleStatus": undefined,
renameIncludesModifications: false,
submoduleStatus: undefined,
})
})

Expand Down
8 changes: 4 additions & 4 deletions app/test/unit/git/status-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ describe('git/status', () => {
expect(files[0].status).toEqual({
kind: AppFileStatusKind.Renamed,
oldPath: 'foo',
"renameIncludesModifications": false,
"submoduleStatus": undefined,
renameIncludesModifications: false,
submoduleStatus: undefined,
})
})

Expand Down Expand Up @@ -277,8 +277,8 @@ describe('git/status', () => {
expect(files[1].status).toEqual({
kind: AppFileStatusKind.Copied,
oldPath: 'CONTRIBUTING.md',
"renameIncludesModifications": false,
"submoduleStatus": undefined,
renameIncludesModifications: false,
submoduleStatus: undefined,
})
})

Expand Down

0 comments on commit e1ea97c

Please sign in to comment.