From 81d9d5f157bbf1fbb5979919d2b70710b9878a3c Mon Sep 17 00:00:00 2001 From: hacksalot Date: Sun, 4 Feb 2018 04:06:49 -0500 Subject: [PATCH] test: add fresh-theme-underscore to suite --- package.json | 2 +- test/scripts/test-themes.js | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 4bf94af..1ca9b36 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ "chai-as-promised": "^7.1.1", "dir-compare": "0.0.2", "fresh-test-resumes": "^0.9.1", - "fresh-test-themes": "^0.1.0", + "fresh-test-themes": "^0.2.0", "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 755350e..95375d0 100644 --- a/test/scripts/test-themes.js +++ b/test/scripts/test-themes.js @@ -56,8 +56,9 @@ function genThemes( title, src, fmt ) { // Run the command! var v = new HackMyResume.verbs.build(); v.on('hmr:error', function(ex) { - console.log('Error thrown'); - assert(false); + console.error('Error thrown: %o', ex); + throw ex; + //assert(false); }); var p = v.invoke( src, dst, opts ); @@ -74,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'); + genTheme(fmt, src, 'underscore', 'node_modules/fresh-test-themes/node_modules/fresh-theme-underscore'); //genTheme(fmt, src, 'awesome'); genTheme(fmt, src, 'positive'); genTheme(fmt, src, 'jsonresume-theme-boilerplate',