Closed vne closed 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.
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.