node-csvtojson icon indicating copy to clipboard operation
node-csvtojson copied to clipboard

tests: added data file and test coverage to demonstrate encodings

Open abramsimon opened this issue 4 years ago • 1 comments

The library uses fs.createReadStream to read files when fromFile is called and passes through options, including encoding, to the fs call. This is not obvious, resulting in issue #402. I have added a test to demonstrate this capability and a data file encoded in latin1 for use in the test.

Issue #402

abramsimon avatar Oct 01 '20 22:10 abramsimon

Pull Request Test Coverage Report for Build 241

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.3%) to 95.702%

Totals Coverage Status
Change from base Build 238: 0.3%
Covered Lines: 664
Relevant Lines: 681

💛 - Coveralls

coveralls avatar Oct 01 '20 22:10 coveralls