mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-21 16:00:11 +00:00
test: replace fresca with fresh-resume-schema
This commit is contained in:
parent
db6ec47dcc
commit
ba719166f7
@ -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. " +
|
||||||
|
Loading…
Reference in New Issue
Block a user