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", "chai-as-promised": "^7.1.1",
"dir-compare": "0.0.2", "dir-compare": "0.0.2",
"fresh-test-resumes": "^0.9.1", "fresh-test-resumes": "^0.9.1",
"fresh-test-themes": "^0.1.0", "fresh-test-themes": "^0.2.0",
"grunt": "*", "grunt": "*",
"grunt-cli": "^0.1.13", "grunt-cli": "^0.1.13",
"grunt-contrib-clean": "^0.7.0", "grunt-contrib-clean": "^0.7.0",

View File

@ -56,8 +56,9 @@ function genThemes( title, src, fmt ) {
// Run the command! // Run the command!
var v = new HackMyResume.verbs.build(); var v = new HackMyResume.verbs.build();
v.on('hmr:error', function(ex) { v.on('hmr:error', function(ex) {
console.log('Error thrown'); console.error('Error thrown: %o', ex);
assert(false); throw ex;
//assert(false);
}); });
var p = v.invoke( src, dst, opts ); var p = v.invoke( src, dst, opts );
@ -74,7 +75,7 @@ function genThemes( title, src, fmt ) {
//genTheme(fmt, src, 'hello-world'); //genTheme(fmt, src, 'hello-world');
genTheme(fmt, src, 'compact'); genTheme(fmt, src, 'compact');
genTheme(fmt, src, 'modern'); 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, 'awesome');
genTheme(fmt, src, 'positive'); genTheme(fmt, src, 'positive');
genTheme(fmt, src, 'jsonresume-theme-boilerplate', genTheme(fmt, src, 'jsonresume-theme-boilerplate',