Moved importer utils to general exporter utils

refs https://github.com/TryGhost/Team/issues/555

- Check previous commit for more context. This changeset is part of importer/exporter cleanup effort.
This commit is contained in:
Naz 2021-03-12 18:26:53 +13:00 committed by naz
parent cc8fe3ad43
commit 341b2bb604
4 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ const importOptions = {
const knex = db.knex;
const {exportedLatestBody} = require('./utils/fixtures');
const {exportedLatestBody} = require('../../utils/fixtures/export/body-generator');
// Tests in here do an import for each test
describe('Integration: Importer', function () {

View File

@ -2,7 +2,7 @@ const testUtils = require('../../utils');
const importer = require('../../../core/server/data/importer');
const dataImporter = importer.importers[1];
const {exportedLegacyBody} = require('./utils/fixtures');
const {exportedLegacyBody} = require('../../utils/fixtures/export/body-generator');
const importOptions = {
returnImportedData: true

View File

@ -1,5 +1,5 @@
const testUtils = require('../../utils');
const {exportedPreviousBody} = require('./utils/fixtures');
const {exportedPreviousBody} = require('../../utils/fixtures/export/body-generator');
const models = require('../../../core/server/models');
const importer = require('../../../core/server/data/importer');