You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ava('.calculatePosition() does not throw when it receives 0 for magnetic_north',t=>{t.notThrows(()=>newPositionModel(LAT_LONG_MOCK,airportPositionFixtureKLAS,0));t.notThrows(()=>PositionModel.calculatePosition(LAT_LONG_MOCK,airportPositionFixtureKLAS,0));});
update PositionModel to handle magnetic_north of 0
ref: zlsa#754
this fails in v3.1.0 due to a
_comment
key within the stars definition.In v3.2.0 that has been addressed, however, this still fails from within the
PositionModel
.magneticNorth is being evaluated as falsey (magneticNorth = 0) thus, it throws.
The text was updated successfully, but these errors were encountered: