Closed peterdesmet closed 1 year ago
Will investigate right now!
This is due to the fact that the some tests mock the radar data:
but not the actual configuration, so production config is used. Since in this fork, the behel
radar is configured in the CSV format, the Home
component actually gets data in the VOL2BIRD format but try to interpret it as CSV.
I was not able to just quickly overwrite configuration in the test files, since this config is loaded at a later stage by the Vue components via VueX config store.
The proper way to solve this is to mock the config file / config store for the tests, so they are not dependent anymore of the specific install configuration, which should be done in upstream (INBO) CROW.
Thanks! We have https://github.com/inbo/crow/issues/192 to fix that more generally, for now it is fine to comment out those tests (for enram/crow only) as you have done in #11.
Merging the changes from #8 broke one unit test:
Ping @niconoe