From 4b27a72dce01c3bb9728e55eb5e51b7d286bb7b3 Mon Sep 17 00:00:00 2001 From: Netto Farah Date: Sun, 13 Dec 2015 13:11:02 -0800 Subject: [PATCH] Add a bit more clarity to Invalid Target test --- test/clipboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/clipboard.js b/test/clipboard.js index bb6dd5b..e35a7c5 100644 --- a/test/clipboard.js +++ b/test/clipboard.js @@ -77,7 +77,7 @@ describe('Clipboard', () => { assert.instanceOf(clipboard.clipboardAction, ClipboardAction); }); - it('should throws exception target', done => { + it('should throw an exception when target is invalid', done => { try { var clipboard = new Clipboard('.btn', { target: function() {