Fix Event API. Update demos. Update tests (#793)

This commit is contained in:
Beto Muniz
2022-02-02 12:13:00 -03:00
committed by GitHub
parent 9698b1176a
commit 7d675f5fc1
12 changed files with 59 additions and 26 deletions

View File

@ -158,6 +158,7 @@ describe('Clipboard', () => {
clipboard.on('success', (e) => {
assert.property(e, 'action');
assert.equal(e.action, 'copy');
assert.property(e, 'text');
assert.property(e, 'trigger');
assert.property(e, 'clearSelection');