Simulator tests aren't aligned with the current branch version
Closed this issue · 1 comments
julienjpk commented
The following errors occur when testing:
- All tests : the
add
method expects a callback parameter. A dummy function can be used (whenexpectAddSensorError
isn't). - Type property is invalid : this test uses a 0 frequency, which is invalid. The same happens in all "sensor type errors" tests.
- Sensor name already used : this test doesn't add twice, when it should. The second error expect therefore fails.
Commit c506acd updates error messages but does not fix these.
Alekshar commented
"Sensor name already used : this test doesn't add twice, when it should. The second error expect therefore fails."
It does call add twice but the second call is through expectAddSensorError
other errors have been fixed