1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-05-02 12:27:08 +01:00

Move CLI-related assets to subfolder.

This commit is contained in:
hacksalot
2016-01-09 16:14:28 -05:00
parent bece335a64
commit c5b8eec33a
6 changed files with 18 additions and 17 deletions

View File

@ -1,6 +1,6 @@
var chai = require('chai')
, expect = chai.expect
, HMRMAIN = require('../src/main')
, HMRMAIN = require('../src/cli/main')
, CHALK = require('chalk')
, FS = require('fs')
, PATH = require('path')
@ -32,7 +32,7 @@ describe('Testing Ouput interface', function () {
try {
args.unshift( process.argv[1] );
args.unshift( process.argv[0] );
var HMRMAIN = require('../src/main');
var HMRMAIN = require('../src/cli/main');
HMRMAIN( args );
}
catch( ex ) {
@ -61,7 +61,7 @@ describe('Testing Ouput interface', function () {
var title = '*** HackMyResume v1.5.2 ***';
var feedMe = 'Please feed me a resume in FRESH or JSON Resume format.';
var manPage = FS.readFileSync( PATH.resolve( __dirname, '../src/use.txt' ), 'utf8');
var manPage = FS.readFileSync( PATH.resolve( __dirname, '../src/cli/use.txt' ), 'utf8');
run('HMR should output a help string when no command is specified',
[], [ title, 'Please give me a command (BUILD, ANALYZE, VALIDATE, CONVERT, or NEW).' ]);