【发布时间】:2019-12-10 15:28:26
【问题描述】:
// Returns Testing [Object object]
describe.skip.each([[{foo: 'abc'}], [{foo: 'bca'}]])('Testing %s', ...
// Returns Testing {foo: 'abc'}
describe.skip.each([[{foo: 'abc'}], [{foo: 'bca'}]])('Testing %o', ...
有没有可能做类似...
// Expect Testing abc
describe.skip.each([[{foo: 'abc'}], [{foo: 'bca'}]])('Testing %o.foo', ...
【问题讨论】:
标签: javascript printf jestjs