Files
cypress/scripts/spec-helper.js
Gleb Bahmutov ebaa7a375c Copy test runner binaries before releasing new version (#4082)
* adding S3 sdk

* test binary folder

* linting

* before searching for binary

* linting

* grab folders in the given S3 prefix

* grab folders in the given S3 prefix

* find the last build

* found last builds for commit

* refactoring

* add tests for upload dir name

* create destination zip filename

* copying S3 files

* move s3 helpers into own object, prepare for testing

* add realistic test

* linting

* chore: add documentation to DEPLOY.md file
2019-05-01 10:14:25 -04:00

12 lines
187 B
JavaScript

/* eslint-env mocha */
const sinon = require('sinon')
const Promise = require('bluebird')
global.sinon = sinon
sinon.usingPromise(Promise)
afterEach(function () {
sinon.restore()
})