diff --git a/src/background/operators/impls/ZoomResetOperator.ts b/src/background/operators/impls/ZoomResetOperator.ts index 4411262a..e47a44bf 100644 --- a/src/background/operators/impls/ZoomResetOperator.ts +++ b/src/background/operators/impls/ZoomResetOperator.ts @@ -10,6 +10,6 @@ export default class ResetZoomOperator implements Operator { schema() {} async run(): Promise { - return chrome.tabs.setZoom(1); + return chrome.tabs.setZoom(0); } } diff --git a/test/background/operators/impls/ZoomResetOperator.test.ts b/test/background/operators/impls/ZoomResetOperator.test.ts index 3c083305..a5948140 100644 --- a/test/background/operators/impls/ZoomResetOperator.test.ts +++ b/test/background/operators/impls/ZoomResetOperator.test.ts @@ -10,7 +10,7 @@ describe("ResetZoomOperator", () => { const sut = new ZoomResetOperator(); await sut.run(); - expect(mockSetZoom).toBeCalledWith(1); + expect(mockSetZoom).toBeCalledWith(0); }); }); });