Closed kristianhasselknippe closed 5 years ago
//[Form: ert-deftest] function shortHandObjectNotationWithFunction(){ function foo() { return 'bar' } const baz = { foo } should(equal(baz.foo(), 'bar')) }
gives
Test short-hand-object-notation-with-function condition: (void-variable foo)
gives