Add a bit more clarity to Invalid Target test

This commit is contained in:
Netto Farah 2015-12-13 13:11:02 -08:00
parent c12c610b22
commit 4b27a72dce

View File

@ -77,7 +77,7 @@ describe('Clipboard', () => {
assert.instanceOf(clipboard.clipboardAction, ClipboardAction); assert.instanceOf(clipboard.clipboardAction, ClipboardAction);
}); });
it('should throws exception target', done => { it('should throw an exception when target is invalid', done => {
try { try {
var clipboard = new Clipboard('.btn', { var clipboard = new Clipboard('.btn', {
target: function() { target: function() {