Ghost/ghost/constants/test/utils/overrides.js

11 lines
334 B
JavaScript
Raw Normal View History

2020-08-11 14:15:36 +03:00
// 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');