aboutsummaryrefslogtreecommitdiffstats
path: root/compare-master-to-stable.js
diff options
context:
space:
mode:
authorIgor Minar2014-03-17 15:50:24 -0700
committerIgor Minar2014-03-18 12:00:50 -0700
commitc5e41a0325d0476f8e0f02fce3b0712050e2571b (patch)
treead4769cf8c832e8c1354aea9fa171e6b3419885a /compare-master-to-stable.js
parent748a6c8d9d8d61c3ee18eec462abe8ff245d6a98 (diff)
downloadangular.js-c5e41a0325d0476f8e0f02fce3b0712050e2571b.tar.bz2
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']); ```
Diffstat (limited to 'compare-master-to-stable.js')
0 files changed, 0 insertions, 0 deletions