8000 Test local flow type definitions by leebyron · Pull Request #1079 · immutable-js/immutable-js · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@leebyron
Copy link
Collaborator
@leebyron leebyron commented Mar 1, 2017

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

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
@leebyron leebyron merged commit 8593caf into master Mar 1, 2017
@leebyron leebyron deleted the flow-test-local branch March 1, 2017 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0