Ghost/ghost/bootstrap-socket/test/utils/overrides.js
Hannah Wolfe 014469f49b Added new bootstrap-socket package with a test
- History merged from Ghost, setup package structure and added a test
- This is exactly the kind of code that we should keep separate to Ghost, as it's rarely touched
- It's much easier to reason about and test when it's on its own
2020-08-07 16:59:25 +01:00

11 lines
334 B
JavaScript

// This file is required before any test is run
// Taken from the should wiki, this is how to make should global
// Should is a global in our eslint test config
global.should = require('should').noConflict();
should.extend();
// Sinon is a simple case
// Sinon is a global in our eslint test config
global.sinon = require('sinon');