Files
cypress/scripts/unit/binary/upload-spec.js
Zach Bloomquist 47e98fa1d0 Use 'platform-arch' naming scheme for downloads (#3998)
* use 'platform-arch' naming scheme for downloads

* do full builds for this branch

* Revert "do full builds for this branch"

This reverts commit 6d539513e7.

* update wrong comments

* chore: test upload getCDN functions

* linting js

* unit test refactored manifest

* linting
2019-04-29 12:27:41 -04:00

17 lines
441 B
JavaScript

const snapshot = require('snap-shot-it')
/* eslint-env mocha */
describe('upload', () => {
const upload = require('../../binary/upload')
context('getRemoteManifest', () => {
it('returns object with download urls for each platform', () => {
const folder = 'desktop'
const version = '3.3.0'
const manifest = upload.getRemoteManifest(folder, version)
snapshot('test runner manifest', manifest)
})
})
})