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); }) }); }) })