rrdelaney / reason-scripts

:beginner: Create a ReasonML and React development environment
MIT License
628 stars 58 forks source link

WIP jest config bs-loader #61

Closed mudrz closed 6 years ago

mudrz commented 6 years ago

added prettier config to have consistent styling (should have been a separate pull)

added bs-loader config per https://github.com/reasonml-community/bs-loader

Tests are loaded, but not correctly:

Your test suite must contain at least one test.

Additionally bs-loader has the following notice:

This library is in maintanence mode. Instead of using bs-loader we recommend using bsb' new in-source builds in conjunction with .bs.js extensions

Perhaps tests can be run from the js files?

anmonteiro commented 6 years ago

This PR is superseded by #64 + https://github.com/reasonml-community/bs-loader/commit/7b5b1a8441a8f289454c51c045aaf59b850a49c0

Closing.