Chore: Refactor CopyIcon.test.js to TS (#59024)

This commit is contained in:
Hamas Shafiq 2022-11-22 14:40:12 +00:00 committed by GitHub
parent 2903e2dbf5
commit f62e55f461
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ describe('<CopyIcon />', () => {
copyText: 'copyTextValue', copyText: 'copyTextValue',
tooltipTitle: 'tooltipTitleValue', tooltipTitle: 'tooltipTitleValue',
}; };
let copySpy; let copySpy: jest.SpyInstance;
beforeAll(() => { beforeAll(() => {
copySpy = jest.spyOn(copy, 'default'); copySpy = jest.spyOn(copy, 'default');