Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(fromnodestream): enable fromnodestream tests, fix minification problems #156

Merged
merged 1 commit into from
Nov 16, 2017

Conversation

trxcllnt
Copy link
Member

Enables the fromNodeStream tests.

Apparently TS enums don't minify well through closure-compiler, so I had to erase the enum and directly compare ints. Also Uglify erroneously minifies the EventEmitter method names, so I guard those by referencing via string indexers.

@trxcllnt trxcllnt force-pushed the fromnodestream-spec branch from a0a87db to feb91bb Compare November 16, 2017 02:35
Ended,
Errored
}
const NonFlowing = 0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably a good idea to use SCREAMING_CASE for constants here

@trxcllnt trxcllnt force-pushed the fromnodestream-spec branch from 5e2a1b6 to 00eb341 Compare November 16, 2017 03:07
@trxcllnt trxcllnt force-pushed the fromnodestream-spec branch from 00eb341 to 66014ef Compare November 16, 2017 03:09
@mattpodwysocki mattpodwysocki merged commit 745d763 into master Nov 16, 2017
@mattpodwysocki mattpodwysocki deleted the fromnodestream-spec branch November 16, 2017 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants