-
Notifications
You must be signed in to change notification settings - Fork 46
Conversation
Travis doesn't run here because the target branch isn't develop :( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we use Node 8 now we could use a newer syntax.
We can't check for sure that it works on Travis though since it's not running.
Yes indeed. Travis is set up to only runs on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#️⃣6️⃣6️⃣6️⃣
e30f31a
to
bd03814
Compare
ed6b1e7
to
90a8d50
Compare
* chore(Jest): SearchParameters [PART-2] (#661) * chore(Jest): SearchResults [PART-3] (#662) * chore(Jest): algoliasearch.helper [PART-4] (#663) * chore(Jest): top level spec [PART-5] (#664) * chore(Jest): integration [PART-6] (#665) * chore(Jest): runner [PART-7] (#666) * chore(Jest): cleanup [PART-8] (#667)
* chore(Jest): functions + hierarchical-facets [PART-1] (#660) * chore(Jest): SearchParameters [PART-2] (#661) * chore(Jest): SearchResults [PART-3] (#662) * chore(Jest): algoliasearch.helper [PART-4] (#663) * chore(Jest): top level spec [PART-5] (#664) * chore(Jest): integration [PART-6] (#665) * chore(Jest): runner [PART-7] (#666) * chore(Jest): cleanup [PART-8] (#667)
* chore(Jest): functions + hierarchical-facets [PART-1] (#660) * chore(Jest): SearchParameters [PART-2] (#661) * chore(Jest): SearchResults [PART-3] (#662) * chore(Jest): algoliasearch.helper [PART-4] (#663) * chore(Jest): top level spec [PART-5] (#664) * chore(Jest): integration [PART-6] (#665) * chore(Jest): runner [PART-7] (#666) * chore(Jest): cleanup [PART-8] (#667)
* chore(Jest): functions + hierarchical-facets [PART-1] (#660) * chore(Jest): SearchParameters [PART-2] (#661) * chore(Jest): SearchResults [PART-3] (#662) * chore(Jest): algoliasearch.helper [PART-4] (#663) * chore(Jest): top level spec [PART-5] (#664) * chore(Jest): integration [PART-6] (#665) * chore(Jest): runner [PART-7] (#666) * chore(Jest): cleanup [PART-8] (#667)
* chore(Jest): functions + hierarchical-facets [PART-1] (#660) * chore(Jest): SearchParameters [PART-2] (#661) * chore(Jest): SearchResults [PART-3] (#662) * chore(Jest): algoliasearch.helper [PART-4] (#663) * chore(Jest): top level spec [PART-5] (#664) * chore(Jest): integration [PART-6] (#665) * chore(Jest): runner [PART-7] (#666) * chore(Jest): cleanup [PART-8] (#667)
* chore(Jest): functions + hierarchical-facets [PART-1] (#660) * chore(Jest): SearchParameters [PART-2] (#661) * chore(Jest): SearchResults [PART-3] (#662) * chore(Jest): algoliasearch.helper [PART-4] (#663) * chore(Jest): top level spec [PART-5] (#664) * chore(Jest): integration [PART-6] (#665) * chore(Jest): runner [PART-7] (#666) * chore(Jest): cleanup [PART-8] (#667)
* chore(Jest): functions + hierarchical-facets [PART-1] (algolia/algoliasearch-helper-js#660) * chore(Jest): SearchParameters [PART-2] (algolia/algoliasearch-helper-js#661) * chore(Jest): SearchResults [PART-3] (algolia/algoliasearch-helper-js#662) * chore(Jest): algoliasearch.helper [PART-4] (algolia/algoliasearch-helper-js#663) * chore(Jest): top level spec [PART-5] (algolia/algoliasearch-helper-js#664) * chore(Jest): integration [PART-6] (algolia/algoliasearch-helper-js#665) * chore(Jest): runner [PART-7] (algolia/algoliasearch-helper-js#666) * chore(Jest): cleanup [PART-8] (algolia/algoliasearch-helper-js#667)
This PR updates the test runner that was implemented with
tape
. We use the exact same behaviour than before expect that now both unit and integration tests run withjest
. You can run the unit tests locally with:To run both unit and integration tests:
I've increased the default timeout to
15000
only when the integration tests are expected to run. By defaulttape
does not timeout on async test butjest
does. I've tested multiple times with this value it worked. We can increase it a bit more if we have flakiness issues.