mirror of
https://github.com/zenorocha/clipboard.js.git
synced 2023-08-10 21:12:48 +03:00
Fixes tests
This commit is contained in:
@ -14,7 +14,7 @@ describe('ClipboardAction', () => {
|
||||
describe('#constructor', () => {
|
||||
it('should throw an error since "data-action" is invalid', (done) => {
|
||||
try {
|
||||
new Clipboard({
|
||||
new ClipboardAction({
|
||||
action: 'paste'
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user