From 26aa8e727483cb87b6453cc6e47519a848547669 Mon Sep 17 00:00:00 2001 From: Scott Nath Date: Mon, 29 Aug 2016 17:07:47 -0400 Subject: [PATCH] :unamused: config without clone --- config/test.js | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/config/test.js b/config/test.js index 0558350..b70ebfa 100644 --- a/config/test.js +++ b/config/test.js @@ -1,12 +1,9 @@ 'use strict'; -const _ = require('lodash'); const path = require('path'); const defaultCfg = require('./default'); -const content = _.cloneDeep(defaultCfg.content); - let knex = {}; if (process.env.CI === 'true') { @@ -22,13 +19,11 @@ if (process.env.CI === 'true') { }; } -content.directory = path.join(__dirname, '../tests/fixtures/content-types/good'); +defaultCfg.content.directory = path.join(__dirname, '../tests/fixtures/content-types/good'); +defaultCfg.workflows.directory = path.join(__dirname, '../tests/fixtures/workflows/good'); module.exports = { - content, + content: defaultCfg.content, knex, - workflows: { - default: 'self-publish', - directory: path.join(__dirname, '../tests/fixtures/workflows/good'), - }, + workflows: defaultCfg.workflows, };