Skip to content

Commit

Permalink
chore: Minor changes to the excludeNonFlow mode and flow-typed libdef…
Browse files Browse the repository at this point in the history
…s update script

This patch contains some additional flow type checking errors that have been caught
by the updated flow-typed definitions and the most recent flow version, and some
minor tweaks to the new excludeNonFlow mode.

- Applied fixes for new flow type checking errors
- Updated flow to 0.72.0 and Added npm script to update flow-typed definitions
- Do not collect flow coverage data for non-flow file in excludeNonFlow mode
- Added excludeNonFlow as false to default configs
- Added unit test for excludeNonFlow mode
  • Loading branch information
rpl committed May 26, 2018
1 parent 6737621 commit 5a72d56
Show file tree
Hide file tree
Showing 17 changed files with 219 additions and 721 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`Fixed #57 - NaN in text report 1`] = `
Object {
"filteredStdout": Array [
"│ src/url.js │ flow │ 0 % │ 7 │ 0 │ 7",
"│ src/url.js │ flow │ 0 % │ 9 │ 0 │ 9",
],
"stderr": "Flow Coverage 0% is below the required threshold 80%
",
Expand Down
6 changes: 0 additions & 6 deletions flow-typed/npm/flow-bin_v0.x.x.js

This file was deleted.

Loading

0 comments on commit 5a72d56

Please sign in to comment.