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',