Skip to content

Commit

Permalink
feat(flow-bin): update bundled flow to v0.106.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayank1791989 committed Sep 2, 2019
1 parent 81f43ac commit a4389fc
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 22 deletions.
4 changes: 3 additions & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,7 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowDisableNextLine

suppress_type=$FixMe

experimental.lsp.code_actions=true

[version]
^0.104.0
^0.106.3
34 changes: 18 additions & 16 deletions flow-typed/npm/jest_v24.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 58d9d3a06aaf967201e2294040c7eab3
// flow-typed version: c6154227d1/jest_v24.x.x/flow_>=v0.104.x
// flow-typed signature: 27f8467378a99b6130bd20f54f31a644
// flow-typed version: 6cb9e99836/jest_v24.x.x/flow_>=v0.104.x

type JestMockFn<TArguments: $ReadOnlyArray<*>, TReturn> = {
(...args: TArguments): TReturn,
Expand Down Expand Up @@ -900,11 +900,10 @@ type JestObjectType = {

type JestSpyType = { calls: JestCallsType, ... };

type JestDoneFn = {
type JestDoneFn = {|
(): void,
fail: (error: Error) => void,
...
};
|};

/** Runs this function after every test inside this context */
declare function afterEach(
Expand Down Expand Up @@ -977,17 +976,20 @@ declare var it: {
* @param {Function} Test
* @param {number} Timeout for the test, in milliseconds.
*/
only(
name: JestTestName,
fn?: (done: JestDoneFn) => ?Promise<mixed>,
timeout?: number
): { each(
...table: Array<Array<mixed> | mixed> | [Array<string>, string]
): (
name: JestTestName,
fn?: (...args: Array<any>) => ?Promise<mixed>,
timeout?: number
) => void, ... },
only: {|
(
name: JestTestName,
fn?: (done: JestDoneFn) => ?Promise<mixed>,
timeout?: number
): void,
each(
...table: Array<Array<mixed> | mixed> | [Array<string>, string]
): (
name: JestTestName,
fn?: (...args: Array<any>) => ?Promise<mixed>,
timeout?: number
) => void
|},
/**
* Skip running this test
*
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
"dequeue": "^1.0.5",
"elegant-spinner": "^1.0.1",
"event-kit": "^2.5.3",
"flow-bin": "^0.104.0",
"flow-bin": "^0.106.3",
"fs-plus": "^3.1.1",
"fuzzaldrin": "^2.1.0",
"lodash.debounce": "^4.0.8",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2015,10 +2015,10 @@ flatted@^2.0.0:
resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.1.tgz#69e57caa8f0eacbc281d2e2cb458d46fdb449e08"
integrity sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg==

flow-bin@^0.104.0:
version "0.104.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.104.0.tgz#ef5b3600dfd36abe191a87d19f66e481bad2e235"
integrity sha512-EZXRRmf7m7ET5Lcnwm/I/T8G3d427Bq34vmO3qIlRcPIYloGuVoqRCwjaeezLRDntHkdciagAKbhJ+NTbDjnkw==
flow-bin@^0.106.3:
version "0.106.3"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.106.3.tgz#87b5647bc23ae0efceabb6c50490c02a8478960c"
integrity sha512-QDwmhsMmiASmwgr6r2WTz9RPsN0pb84PY0whz0JqFaBX7/Fx2wj2MOtjbR2yv+qWZnozP9U40Jd9LLt8rC3WSQ==

for-in@^1.0.2:
version "1.0.2"
Expand Down

0 comments on commit a4389fc

Please sign in to comment.