mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
Amend previous commit to prevent console.log
no issue Large amount of unstaged changes prevented me from catching this
This commit is contained in:
parent
a5484a0fe1
commit
620c12b05f
@ -898,10 +898,9 @@ describe('Importer', function () {
|
||||
});
|
||||
|
||||
it('imports settings fields deprecated in v2 and removed in v3: slack hook, permalinks', function () {
|
||||
// Prevent events from being fired to avoid side-effects
|
||||
const EventRegistry = require('../../../core/server/lib/common/events');
|
||||
sinon.stub(EventRegistry, 'emit').callsFake((event) => {
|
||||
console.log('emitted event' + event);
|
||||
});
|
||||
sinon.stub(EventRegistry, 'emit').callsFake(() => {});
|
||||
|
||||
const exportData = exportedBodyV2().db[0];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user