DAVFoundation / missioncontrol

🛰 Controls and orchestrates missions between vehicles and DAV users
MIT License
181 stars 156 forks source link

Fix Travis CI build errors #229

Closed vne closed 5 years ago

vne commented 5 years ago

Travis was failing with 2 different errors. The first one is fixed by initializing jest.fn() exactly as in the documentation. Second error revealed itself only after the first was fixed. The solution (upgrade to 3.3.3333) is borrowed from https://travis-ci.community/t/node-modules-types-jest-index-d-ts31-error-ts2370-a-rest-parameter-must-be-of-an-array-type/2149/2.