diff --git a/packages/jest-cli/src/lib/__tests__/Prompt-test.js b/packages/jest-cli/src/lib/__tests__/Prompt-test.js index c10cdf18afed..9598621b8270 100644 --- a/packages/jest-cli/src/lib/__tests__/Prompt-test.js +++ b/packages/jest-cli/src/lib/__tests__/Prompt-test.js @@ -18,7 +18,7 @@ KEYS = Object.assign({}, KEYS, { }); it('calls handler on change value', () => { - const options = {offset: -1}; + const options = {max: 10, offset: -1}; const prompt = new Prompt(); const onChange = jest.fn();