Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SagarGi committed Jan 31, 2023
1 parent 866af60 commit 3fb4d72
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/e2e/cucumber/steps/ui/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,10 @@ export const processDownload = async (
if (resource.type === 'file') {
expect(downloadedResources).toContain(resource.name)
} else {
// downloading folders in oc10 downloads with name of resource but in ocis it is downloaded as 'download.tar'
(config.ocis) ? expect(downloadedResources).toContain('download.tar') : expect(downloadedResources).toContain(`${resource.name}.zip`)
// downloading folders in oc10 downloads with name of resource but in ocis it is downloaded as 'download.tar'
config.ocis
? expect(downloadedResources).toContain('download.tar')
: expect(downloadedResources).toContain(`${resource.name}.zip`)
}
}
}
Expand Down

0 comments on commit 3fb4d72

Please sign in to comment.