chore(log): add `log.empty()` method to the testing logger
`log.empty()` is the same as `log.reset()`, except thati `empty()` also returns the current array with messages instead of: ``` // do work expect(log).toEqual(['bar']); log.reset(); ``` do: ``` // do work expect(log.empty()).toEqual(['bar']); ```
I
Igor Minar committed
c5e41a0325d0476f8e0f02fce3b0712050e2571b
Parent: 748a6c8