node-id3
node-id3 copied to clipboard
Improve Test Coverage
- Removes unreachable ID3 Tag header validity check in the remove API, because an ID3 Tag is only found when its header is valid
- Add tests for
NodeID3.removeTags - Add tests for all
NodeID3.updateAPI branches- Reorder types to allow for calling
NodeID3.update(tags, filepath, callback)(without options)
- Reorder types to allow for calling
- Add tests for frame builder throws
- Add tests for tags whose data can be changed in frame builder (e.g. undefined => empty string)
- Add tests for update compare key
Coverage went from 77.66% to 87.71%