diff --git a/tests/utils/changeExtensionIcon.spec.ts b/tests/utils/changeExtensionIcon.spec.ts deleted file mode 100644 index 7934aaa..0000000 --- a/tests/utils/changeExtensionIcon.spec.ts +++ /dev/null @@ -1,20 +0,0 @@ -import chai from 'chai'; -import changeExtensionIcon from '../../src/utils/changeExtensionIcon'; - -const expect = chai.expect; - -jest.mock('webextension-polyfill', () => { - return { - runtime: { - getManifest: () => { - return { version: 'test-version' }; - }, - }, - }; -}); - -describe('changeExtensionIcon', function () { - it('should be a function', function () { - expect(changeExtensionIcon).to.be.a('function'); - }); -}); diff --git a/tests/utils/changeExtensionState.spec.ts b/tests/utils/changeExtensionState.spec.ts deleted file mode 100644 index d829143..0000000 --- a/tests/utils/changeExtensionState.spec.ts +++ /dev/null @@ -1,20 +0,0 @@ -import chai from 'chai'; -import changeExtensionState from '../../src/utils/changeExtensionStatus'; - -const expect = chai.expect; - -jest.mock('webextension-polyfill', () => { - return { - runtime: { - getManifest: () => { - return { version: 'test-version' }; - }, - }, - }; -}); - -describe('changeExtensionState', function () { - it('should be a function', function () { - expect(changeExtensionState).to.be.a('function'); - }); -}); diff --git a/tests/utils/changeExtensionTooltip.spec.ts b/tests/utils/changeExtensionTooltip.spec.ts deleted file mode 100644 index d564f2e..0000000 --- a/tests/utils/changeExtensionTooltip.spec.ts +++ /dev/null @@ -1,26 +0,0 @@ -import chai from 'chai'; -import changeExtensionTooltip from '../../src/utils/changeExtensionTooltip'; - -const expect = chai.expect; - -jest.mock('webextension-polyfill', () => { - return { - runtime: { - getManifest: () => { - return { version: 'test-version' }; - }, - }, - }; -}); - -describe('changeExtensionTooltip', function () { - it('should be a function', function () { - expect(changeExtensionTooltip).to.be.a('function'); - }); - - // it('should change the extension tooltip', function() { - // changeExtensionTooltip('WakaTime'); - // expect(chrome.browserAction.setTitle).toHaveBeenCalledWith({title: 'Wakatime'}); - // sinon.assert.calledWithMatch(chrome.browserAction.setTitle, {title: 'WakaTime'}); - // }); -});