3rd-Eden / useragent

Useragent parser for Node.js, ported from browserscope.org
MIT License
897 stars 137 forks source link

Tests for the update process #31

Open 3rd-Eden opened 11 years ago

3rd-Eden commented 11 years ago

The test suite is currently lacking tests for the update process and automatic updates. While it's not a critical component of the module it would prevent bugs like #30 to happen in the future.

linusbrolin commented 6 years ago

As far as I can see in the source, the updater does not have any callback, or promise, functionality. So there is no way to wait for the update process to finish before parsing?

I'm guessing that would also be needed for the tests?

Is this something that is planned at all?