copy-text-button: use Clipboard API

Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
This commit is contained in:
Vincenzo Scamporlino
2021-08-18 09:13:27 +02:00
parent 7c1e6deefe
commit d041655a7d
8 changed files with 86 additions and 43 deletions
@@ -55,7 +55,7 @@ describe('EntityBadgesDialog', () => {
);
await expect(
rendered.findByText('![test: badge](http://127.0.0.1/catalog/...)'),
rendered.findByText('test: badge'),
).resolves.toBeInTheDocument();
});
});