hey what’s a cool assertion library that that can do sth like “{ a: 1, b: { c: 2, d: 3 } } matches { a: 1, { c: 2 } }”?
-
Show this thread
-
i.e. deep equal but not all properties have to be there
3 replies 0 retweets 0 likesShow this thread
Replying to @addaleax
Spok was built exactly for this use case
https://github.com/thlorenz/spok
4:37 PM - 6 Nov 2017
from Kilkenny, Ireland
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.