mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-03 13:30:26 -05:00
eb5054618d
- move to root /lib - convert cli code from coffeescript to javascript - refactor cli code to fit better into monorepo and be more testable
15 lines
276 B
JavaScript
15 lines
276 B
JavaScript
global.expect = require('chai').expect
|
|
global.Promise = require('bluebird')
|
|
const sinon = require('sinon')
|
|
|
|
require('chai')
|
|
.use(require('sinon-chai'))
|
|
|
|
beforeEach(function () {
|
|
this.sandbox = sinon.sandbox.create()
|
|
})
|
|
|
|
afterEach(function () {
|
|
this.sandbox.restore()
|
|
})
|