enzymejs / enzyme-matchers

Jasmine/Jest assertions for enzyme
MIT License
892 stars 115 forks source link

Ensure flow type checking passes #310

Closed bz2 closed 5 years ago

bz2 commented 5 years ago

@GreenGremlin @blainekasten This fixes the regression introduced in FormidableLabs/enzyme-matchers#306

Fix getDisplayName() function to match its type signature.

Add yarn run typecheck step to travis gating and rework.

Fix lint errors using eslint-import-resolver-alias and new config.

Update flow-bin to latest version.

Tweak .flowconfig so all imports are recognised.

Fixes FormidableLabs/enzyme-matchers#309

bz2 commented 5 years ago

@blainekasten Have you got some time to review this? Would be good to get the gating working as intended.

blainekasten commented 5 years ago

@bz2 This is brilliant!

Thank you so much. I'm sorry I missed this! I'll get a release out

bz2 commented 5 years ago

@blainekasten Thanks! Have pulled the new release and removed the workaround, all is fixed.