113 karma · joined March 6, 2019
"Republicans argue that since their observers couldn’t watch the vote count, they can’t provide that evidence and have asked for discovery. Still, while the courts have agreed that irregularities have occurred, they weren’t willing to grant discovery unless Republicans first present enough evidence of fraud to overturn the election. Republicans thus faced a kind of Catch 22."
Source: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3756988
"Jest can only mock the structure of objects that are present at require time. It does it by reflection (not by analysis), which means that properties that get added by the constructor cannot be mocked. It's important to understand though that a fat-arrow assignment in a class in JS is not a class method; it's a class property holding a reference to a function.
My suggestion to that would be that you change the fat arrow assignments to standard methods and bind them in the constructor. That way they will be Jest aware. Otherwise I'm afraid there's not much we can do here."
See here for more info: https://www.mybanktracker.com/news/coin-counting-machines-ba...
I'm sorry, but this made me laugh quite a bit