mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05: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
1 changed files with 2 additions and 3 deletions
|
@ -898,10 +898,9 @@ describe('Importer', function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('imports settings fields deprecated in v2 and removed in v3: slack hook, permalinks', 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');
|
const EventRegistry = require('../../../core/server/lib/common/events');
|
||||||
sinon.stub(EventRegistry, 'emit').callsFake((event) => {
|
sinon.stub(EventRegistry, 'emit').callsFake(() => {});
|
||||||
console.log('emitted event' + event);
|
|
||||||
});
|
|
||||||
|
|
||||||
const exportData = exportedBodyV2().db[0];
|
const exportData = exportedBodyV2().db[0];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue