0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Fixed package-json test requires

no issue

- these tests have just been extracted from Ghost so the paths are wrong
  and they're missing the global utils import
This commit is contained in:
Daniel Lockyer 2021-05-06 14:24:04 +01:00
parent e74c682cba
commit e0a966d6af
3 changed files with 8 additions and 6 deletions

View file

@ -1,5 +1,5 @@
const should = require('should');
const PackageJSON = require('../../../../../core/server/lib/fs/package-json/package-json');
require('./utils');
const PackageJSON = require('../');
const packageJSON = new PackageJSON({
i18n: {

View file

@ -1,7 +1,8 @@
const should = require('should');
require('./utils');
const tmp = require('tmp');
const fs = require('fs-extra');
const PackageJSON = require('../../../../../core/server/lib/fs/package-json/package-json');
const PackageJSON = require('../');
const packageJSON = new PackageJSON({
i18n: {

View file

@ -1,8 +1,9 @@
const should = require('should');
require('./utils');
const tmp = require('tmp');
const join = require('path').join;
const fs = require('fs-extra');
const PackageJSON = require('../../../../../core/server/lib/fs/package-json/package-json');
const PackageJSON = require('../');
const packageJSON = new PackageJSON({
i18n: {