From 2767b16b47585164d2b43c2cc03e31381a09f930 Mon Sep 17 00:00:00 2001 From: hacksalot Date: Sun, 4 Feb 2018 05:34:47 -0500 Subject: [PATCH] test: use direct dependency for fresh-resume-underscore --- package.json | 1 + test/scripts/test-themes.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1ca9b36..be2cfc1 100644 --- a/package.json +++ b/package.json @@ -91,6 +91,7 @@ "dir-compare": "0.0.2", "fresh-test-resumes": "^0.9.1", "fresh-test-themes": "^0.2.0", + "fresh-theme-underscore": "^0.1.1", "grunt": "*", "grunt-cli": "^0.1.13", "grunt-contrib-clean": "^0.7.0", diff --git a/test/scripts/test-themes.js b/test/scripts/test-themes.js index 266db28..2dbf208 100644 --- a/test/scripts/test-themes.js +++ b/test/scripts/test-themes.js @@ -75,7 +75,7 @@ function genThemes( title, src, fmt ) { //genTheme(fmt, src, 'hello-world'); genTheme(fmt, src, 'compact'); genTheme(fmt, src, 'modern'); - genTheme(fmt, src, 'underscore', path.parse( require.resolve('fresh-theme-underscore') ).dir ); + genTheme(fmt, src, 'underscore', 'node_modules/fresh-theme-underscore' ); //genTheme(fmt, src, 'awesome'); genTheme(fmt, src, 'positive'); genTheme(fmt, src, 'jsonresume-theme-boilerplate',