Skip to content

Commit

Permalink
feat: 🎨 adding uploadfile if not exisitng test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignazio Bovo committed Aug 28, 2024
1 parent ebd0f03 commit 5959615
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ describe('AwsConnectionHandler full test suite', () => {
const filePath = './testfile.txt'
const bucketPath = 'testDir/testfile.txt'

await awsConnectionHandler.uploadFileToRemoteBucket(filePath, bucketPath)
const result = await awsConnectionHandler.uploadFileToRemoteBucketIfNotExists(filePath, bucketPath)
expect(result.alreadyExists).toBe(true)
})
})

0 comments on commit 5959615

Please sign in to comment.