diff --git a/packages/jest-circus/src/run.js b/packages/jest-circus/src/run.js index 373512271d8e..27cadf1420bf 100644 --- a/packages/jest-circus/src/run.js +++ b/packages/jest-circus/src/run.js @@ -118,7 +118,7 @@ const _runTest = async (test: TestEntry): Promise => { // `afterAll` hooks should not affect test status (pass or fail), because if // we had a global `afterAll` hook it would block all existing tests until - // this hook is executed. So we dispatche `test_done` right away. + // this hook is executed. So we dispatch `test_done` right away. dispatch({name: 'test_done', test}); }; diff --git a/packages/jest-cli/src/lib/init/questions.js b/packages/jest-cli/src/lib/init/questions.js index 4dfb51be7477..5e7c829b7f10 100644 --- a/packages/jest-cli/src/lib/init/questions.js +++ b/packages/jest-cli/src/lib/init/questions.js @@ -7,13 +7,13 @@ * @flow */ -type Question = { - intial?: boolean | number, +type Question = {| + initial?: boolean | number, message: string, name: string, type: string, choices?: Array<{title: string, value: string}>, -}; +|}; const defaultQuestions: Array = [ {