adamocomp/test/test.js

21 lines
472 B
JavaScript
Raw Permalink Normal View History

2020-05-21 12:08:44 +00:00
const assert = require('assert');
const chai = require('chai');
const expect = require('chai').expect;
const fs = require('fs');
const Parser = require('../parser.js');
var parser = new Parser();
describe('Running tests:' , function() {
describe('Data file:', function(){
it('Attempting to read data file at ' + parser.params.path, function(done){
parser.get.file().then(function(data){
done()
}).catch(function(error){
done(error);
})
});
})
})