Propmt when a api key can not be use + house keeping (#173)
* chore: remove old files * chore: change JS tests to TS, delete dummy tests * chore: bump manifests version
This commit is contained in:
committed by
GitHub
parent
fe49f50b65
commit
35543489e5
20
tests/utils/changeExtensionState.spec.ts
Normal file
20
tests/utils/changeExtensionState.spec.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import chai from 'chai';
|
||||
import changeExtensionState from '../../src/utils/changeExtensionState';
|
||||
|
||||
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');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user