RafaelKa / node-serialport-enocean-parser

ESP3 parser for nodes serialport
Do What The F*ck You Want To Public License
6 stars 2 forks source link

[TASK] add coverage provider #27

Closed RafaelKa closed 6 years ago

RafaelKa commented 6 years ago

trying https://coveralls.io/

RafaelKa commented 6 years ago

I do not understand why

https://github.com/RafaelKa/node-serialport-enocean-parser/blob/25145346ff5c38e7e1e26397366565fde403cbbf/ESP3Parser.js#L99-L102

is not covered by

https://github.com/RafaelKa/node-serialport-enocean-parser/blob/25145346ff5c38e7e1e26397366565fde403cbbf/test/ESP3Parser.test.js#L71-L83

See: https://coveralls.io/builds/20408130/source?filename=ESP3Parser.js#L101

Holger-Will commented 6 years ago

you forgot to actually write the data to the stream in that test... ;-) esp3parser.write(byteStream)