Implement expect, toBe and greaterThan so Jest-style assertions work.
Unlock detailed company stats for this questionUpgrade
Make expressions like expect(add(1, 2)).toBe(greaterThan(1)) work by implementing expect, toBe and greaterThan. Requires the concept of currying.
Community answers
No answers contributed by the community yet.
Related courses

Course

