21 lines
472 B
JavaScript
21 lines
472 B
JavaScript
|
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);
|
||
|
})
|
||
|
});
|
||
|
})
|
||
|
})
|