mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03:00
a2a2a7c7be
refs https://linear.app/tryghost/issue/CORE-35/refactor-route-and-redirect-settings - The module is a tiny path resolver for settings used in Ghost. A first obvious place it's used is for routes.yaml settings files. With a little bit of tweaking it should also be adopted by redirects services
11 lines
334 B
JavaScript
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');
|