Fails silently in favor of speed

This commit is contained in:
Zeno Rocha
2015-09-28 21:59:18 -07:00
parent 775e4b898d
commit 1f61e16eb5
2 changed files with 0 additions and 26 deletions

View File

@ -17,28 +17,6 @@ describe('Clipboard', () => {
document.body.innerHTML = '';
});
describe('#constructor', () => {
it('should throw an error since there was no arguments passed', done => {
try {
new Clipboard();
}
catch(e) {
assert.equal(e.message, 'No matches were found for the provided selector');
done();
}
});
it('should throw an error since an empty selector has been passed', done => {
try {
new Clipboard('#abc');
}
catch(e) {
assert.equal(e.message, 'No matches were found for the provided selector');
done();
}
});
});
describe('#resolveOptions', function() {
it('should set action as a function', () => {
var fn = function() {};