just-jeb / jest-marbles

Helpers library for marbles testing with Jest
MIT License
112 stars 13 forks source link

Breaking change between v3.0.6 and v3.1.0 #551

Open fpeterdev opened 1 month ago

fpeterdev commented 1 month ago

The signature of the hot() and cold() functions changed between versions 3.0.6 and 3.1.0.

It changed from: cold(marbles: string, values?: any, error?: any): to: cold(marbles: string, values?: object, error?: object)

The any => object change can cause type errors

grubeninspekteur commented 4 weeks ago

Having this problem as well. Some of our error notifications are not objects.