1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-25 01:40:10 +00:00

test: replace fresca with fresh-resume-schema

This commit is contained in:
hacksalot 2018-02-02 04:49:26 -05:00
parent db6ec47dcc
commit ba719166f7
No known key found for this signature in database
GPG Key ID: 2F343EC247CA4B06

View File

@ -60,7 +60,7 @@ function testResume(opts) {
it('should validate against the FRESH resume schema', function() { it('should validate against the FRESH resume schema', function() {
var result = _sheet.isValid(); var result = _sheet.isValid();
// var schemaJson = require('fresca'); // var schemaJson = require('fresh-resume-schema');
// var validate = validator( schemaJson, { verbose: true } ); // var validate = validator( schemaJson, { verbose: true } );
// var result = validate( JSON.parse( _sheet.imp.raw ) ); // var result = validate( JSON.parse( _sheet.imp.raw ) );
result || console.log("\n\nOops, resume didn't validate. " + result || console.log("\n\nOops, resume didn't validate. " +