mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-24 07:59:03 -06:00
32 lines
815 B
JavaScript
32 lines
815 B
JavaScript
/* eslint-disable
|
|
no-unused-vars,
|
|
*/
|
|
// TODO: This file was created by bulk-decaffeinate.
|
|
// Fix any style issues and re-enable lint.
|
|
/*
|
|
* decaffeinate suggestions:
|
|
* DS102: Remove unnecessary code created because of implicit returns
|
|
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
|
|
*/
|
|
const chai = require('chai')
|
|
const sinon = require('sinon')
|
|
const Promise = require('bluebird')
|
|
const sinonChai = require('sinon-chai')
|
|
const sinonPromise = require('sinon-as-promised')(Promise)
|
|
|
|
global.request = require('request-promise')
|
|
global.sinon = sinon
|
|
global.supertest = require('supertest')
|
|
|
|
chai.use(sinonChai)
|
|
|
|
global.expect = chai.expect
|
|
|
|
beforeEach(function () {
|
|
this.sandbox = sinon.sandbox.create()
|
|
})
|
|
|
|
afterEach(function () {
|
|
return this.sandbox.restore()
|
|
})
|