Skip to content

Commit

Permalink
Test local flow type definitions
Browse files Browse the repository at this point in the history
The flow type definition tests added in #878 relied on declaring a module, which required .flowconfig to explicitly include the flow definition files, and made exports unclear. This reverts some of the structural changes to the immutable.js.flow from that PR and simplifies the .flowconfig test file to ensure tests are against the *local* copy of immutable. This uncovered a few issues with tests including a mistaken sense that types were exportes as classes and that Set intersections were causing issues.

Fixes #961
  • Loading branch information
leebyron committed Mar 1, 2017
1 parent 8faa718 commit 829d86a
Show file tree
Hide file tree
Showing 5 changed files with 1,546 additions and 1,479 deletions.
Loading

0 comments on commit 829d86a

Please sign in to comment.