From a8411789b3c1b827f24c23d24f0e7dd5b3dcaade Mon Sep 17 00:00:00 2001 From: Seth Nickell Date: Mon, 12 Jul 2021 16:25:06 -1000 Subject: [PATCH] expect(Clipboard.isSupported) to be true Clipboard needs to be supported on all target browsers. --- tests/test.clipboard.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test.clipboard.js b/tests/test.clipboard.js index 2ef00574..0c43d282 100644 --- a/tests/test.clipboard.js +++ b/tests/test.clipboard.js @@ -25,6 +25,10 @@ describe('Automatic Clipboard Sync', function () { }); } + it('is supported on all target browsers', function () { + expect(Clipboard.isSupported).to.be.true; + }); + it('incoming clipboard data from the server is copied to the local clipboard', function () { const text = 'Random string for testing'; const clipboard = new Clipboard();