mozilla / testpilot-metrics

Metrics broker library for Test Pilot experiments. Pings Google Analytics and Mozilla metrics servers
Mozilla Public License 2.0
3 stars 7 forks source link

Unit tests: sharpen error expectations #23

Open jaredhirsch opened 7 years ago

jaredhirsch commented 7 years ago

Many of the unit tests just expect a specific set of constructor args to throw an Error.

I think it would also be good to check the error message, since they might be throwing because the now-mandatory version number is missing.