Skip to content

Commit

Permalink
Fix typo in type declaration (#7659)
Browse files Browse the repository at this point in the history
  • Loading branch information
prashant-andani authored and SimenB committed Jan 20, 2019
1 parent 10bb779 commit 198c770
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/jest-circus/src/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const _runTest = async (test: TestEntry): Promise<void> => {

// `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});
};

Expand Down
6 changes: 3 additions & 3 deletions packages/jest-cli/src/lib/init/questions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<Question> = [
{
Expand Down

0 comments on commit 198c770

Please sign in to comment.