Skip to content

Commit

Permalink
fix: type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Apr 30, 2024
1 parent b53d318 commit 2caf527
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/drivers/gcs/copy.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ test.group('GCS Driver | copy', (group) => {

await fdgcs.copy(source, destination)
const metaData = await fdgcs.getMetaData(destination)
const visibility = await fdgcs.getVisibility(destination)

assert.equal(metaData.visibility, 'private')
assert.equal(visibility, 'private')
assert.equal(metaData.contentType, 'image/png')

const existsResponse = await noUniformedAclBucket.file(source).exists()
Expand Down
4 changes: 3 additions & 1 deletion tests/drivers/gcs/move.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ test.group('GCS Driver | move', (group) => {
await fdgcs.move(source, destination)

const metaData = await fdgcs.getMetaData(destination)
assert.equal(metaData.visibility, 'private')
const visibility = await fdgcs.getVisibility(destination)

assert.equal(visibility, 'private')
assert.equal(metaData.contentType, 'image/png')

const existsResponse = await noUniformedAclBucket.file(source).exists()
Expand Down

0 comments on commit 2caf527

Please sign in to comment.