mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 10:21:36 +03:00
b781e47cb9
- this keeps production and test fixtures separate, so that changing the prod fixtures doesn't change the shape of our tests. - we may still want to test that the production fixtures do what we expect, but that can be handled in a separate integration test, by specifically setting the fixture path
9 lines
307 B
JavaScript
9 lines
307 B
JavaScript
const FixtureManager = require('./fixture-manager');
|
|
const config = require('../../../../shared/config');
|
|
|
|
const fixturePath = config.get('paths').fixtures;
|
|
const fixtures = require(fixturePath);
|
|
|
|
module.exports.FixtureManager = FixtureManager;
|
|
module.exports.fixtureManager = new FixtureManager(fixtures);
|