A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.
TypeScript amazon-primeelectronepic-games-launcherepic-games-storeepic-storegaminggoggog-galaxyheroic-games-launcherlinuxplay-gamesprotonsteamwine
import { installerLookupError, missingInstallersError } from '../errors'
describe('zoom installer errors', () => {
it('reports the HTTP status when the API answered', () => {
expect(installerLookupError(404)).toBe(
'Zoom installer lookup failed (HTTP 404)'
)
})
it('does not invent a status when the request never got one', () => {
expect(installerLookupError()).toBe(
'Zoom installer lookup failed (network or auth error)'
)
})
it('names the platform when no installer is listed', () => {
expect(missingInstallersError('linux')).toBe(
'No installers available for linux on this product'
)
})
})