Closed
Description
It would be useful and functional to be able to destructure test functions such as pass
, fail
, deepEqual
, it
etc. from the test object argument passed into the test function. Currently they are not bound to the test context but could probably be provided pre-bound.
test(({ deepEqual }) => {
deepEqual([1, 2], [1, 2]);
});
Metadata
Metadata
Assignees
Labels
No labels