From f1343add71a697ff08fd61117da5db1d23978d8c Mon Sep 17 00:00:00 2001 From: hacksalot Date: Sun, 4 Feb 2018 04:44:47 -0500 Subject: [PATCH] test: remove hard-coded submodule path --- test/scripts/test-themes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/scripts/test-themes.js b/test/scripts/test-themes.js index 95375d0..266db28 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', 'node_modules/fresh-test-themes/node_modules/fresh-theme-underscore'); + genTheme(fmt, src, 'underscore', path.parse( require.resolve('fresh-theme-underscore') ).dir ); //genTheme(fmt, src, 'awesome'); genTheme(fmt, src, 'positive'); genTheme(fmt, src, 'jsonresume-theme-boilerplate',