From 3b13cf270e1add2cfb82a30970805dbf41303afc Mon Sep 17 00:00:00 2001 From: Andreas Lind Date: Sun, 13 Sep 2015 19:45:25 +0200 Subject: [PATCH] Increase coverage of the magicPen style. --- test/unexpected.spec.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/unexpected.spec.js b/test/unexpected.spec.js index 1464c1ac8..642ef78e9 100644 --- a/test/unexpected.spec.js +++ b/test/unexpected.spec.js @@ -7883,4 +7883,12 @@ describe('unexpected', function () { ); }); }); + + describe('styles', function () { + describe('#magicPen', function () { + it('should inspect an empty MagicPen instance', function () { + expect(expect.output.clone().magicPen(expect.output.clone()).toString(), 'to equal', 'magicpen()'); + }); + }); + }); });