AminoJS / Amino.JS

A powerful JavaScript library for interacting with the Amino API :star2:
MIT License
27 stars 5 forks source link

FIx for ``Unknown option "setTimeout"`` 1 #48

Closed akatsukilevi closed 5 years ago

akatsukilevi commented 5 years ago

Travis CI is throwing a Unknown option "setTimeout" with value 7000 was found. This is probably a typing mistake. Fixing it will remove this message.exception. Fixed it here

Also had to create a new branch because i edited it directly on GitHub(no ide ready here)

Your checklist for this pull request

🚨Please review the guidelines for contributing to this repository.

Description

Just a quick fix to the error Travis thrown. The setTimeout need to be set with the function jest.setTimeout(time), and a config called setTimeoutdon't exist to the package.json file

Thank you!

akatsukilevi commented 5 years ago

Yes! Passed now! @moelrobi can you confirm the patch and merge it to the 3.0.0?