ec4045cb57
refs https://github.com/TryGhost/Toolbox/issues/503 - Reusing existing events inside of dynamic routing would only contribute to general confusion that is already there. Having separate "DomainEvents" is the best practice used throughout the code which is substituting generic events. - The URLResourceUpdatedEvent is supposed to be emmited whenever there's an updated to the resource already associated with the URL circumventing full url regeneration process inside of DynamicRouting
9 lines
219 B
JavaScript
9 lines
219 B
JavaScript
const assert = require('assert');
|
|
const events = require('../index');
|
|
|
|
describe('Dynamic Routing Events', function () {
|
|
it('exports events', function () {
|
|
assert(events.URLResourceUpdatedEvent);
|
|
});
|
|
});
|