This repository has been archived by the owner on Dec 3, 2018. It is now read-only.
Releases: rrdelaney/bs-loader
Releases · rrdelaney/bs-loader
v1.5.7
v1.5.6
v1.5.5
v1.5.4
v1.5.3
v1.5.2
v1.5.1
v1.5.0
Changes
- Now includes a transform for Jest!
You can test Reason code with Jest without having to run bsb
manually! To test Reason files directly, add a Jest config section to your package.json
that looks like this:
"jest": {
"moduleFileExtensions": [
"re",
"js",
"ml"
],
"testMatch": [
"**/src/*_test.re"
],
"transform": {
".(re|ml)": "bs-loader"
}
}
Currently this only works with BuckleScript compiling to CommonJS.