Merge pull request #150 from nettofarah/patch-1

Add a bit more clarity to Invalid Target test
This commit is contained in:
Zeno Rocha 2015-12-17 10:48:14 -08:00
commit efc22cf651

View File

@ -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() {