1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-21 16:00:11 +00:00

test: add fresh-theme-underscore to suite

This commit is contained in:
hacksalot 2018-02-04 04:06:49 -05:00
parent caca653666
commit 81d9d5f157
No known key found for this signature in database
GPG Key ID: 2F343EC247CA4B06
2 changed files with 5 additions and 4 deletions

View File

@ -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",

View File

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