mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 08:31:43 +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
12 lines
274 B
JavaScript
12 lines
274 B
JavaScript
/**
|
|
* Custom Should Assertions
|
|
*
|
|
* Add any custom assertions to this file.
|
|
*/
|
|
|
|
// Example Assertion
|
|
// should.Assertion.add('ExampleAssertion', function () {
|
|
// this.params = {operator: 'to be a valid Example Assertion'};
|
|
// this.obj.should.be.an.Object;
|
|
// });
|