mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
Changed require declaration to be more readable
no issue - When adding more methods under test to this file the require statement will becom difficult to read in one long line. Multiline statement is way nicer to track in git history too
This commit is contained in:
parent
cca620cb35
commit
d81accdebf
@ -2,7 +2,13 @@
|
|||||||
// const testUtils = require('./utils');
|
// const testUtils = require('./utils');
|
||||||
require('./utils');
|
require('./utils');
|
||||||
const {InternalServerError} = require('@tryghost/errors');
|
const {InternalServerError} = require('@tryghost/errors');
|
||||||
const {prepareError, handleJSONResponse, handleJSONResponseV2, handleHTMLResponse, prepareStack} = require('../');
|
const {
|
||||||
|
prepareError,
|
||||||
|
handleJSONResponse,
|
||||||
|
handleJSONResponseV2,
|
||||||
|
handleHTMLResponse,
|
||||||
|
prepareStack
|
||||||
|
} = require('../');
|
||||||
|
|
||||||
describe('Prepare Error', function () {
|
describe('Prepare Error', function () {
|
||||||
it('Correctly prepares a normal error', function (done) {
|
it('Correctly prepares a normal error', function (done) {
|
||||||
|
Loading…
Reference in New Issue
Block a user