Add manual translate as default (#33)
* Added translate and switch auto buttons * Tests updated * Added hotkey & improved buttons visually
This commit is contained in:
9
mocks/localStorage.ts
Normal file
9
mocks/localStorage.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
Object.defineProperty(window, "localStorage", {
|
||||
value: {
|
||||
getItem: jest.fn(() => null),
|
||||
setItem: jest.fn(() => null)
|
||||
},
|
||||
writable: true
|
||||
});
|
||||
|
||||
export const localStorageSetMock = window.localStorage.setItem;
|
||||
Reference in New Issue
Block a user