Skip to content

Commit

Permalink
Merge pull request #53 from h4de5/patch-1
Browse files Browse the repository at this point in the history
Fix linting error
  • Loading branch information
PippoRaimondi authored Nov 24, 2021
2 parents 61c9436 + 2d32847 commit f8c7f34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ describe('Utils', () => {

describe('Move files', () => {
it('should move files', () => {
renameAndMoveFile(args[0], args[0] + 'new')
renameAndMoveFile(sampleFiles[0], sampleFiles[1])
expect(moveSync).toHaveBeenCalledTimes(1)
expect(moveSync).toBeCalledWith(args[0], args[0] + 'new')
expect(moveSync).toBeCalledWith(sampleFiles[0], sampleFiles[1])
})
})
})

0 comments on commit f8c7f34

Please sign in to comment.