Fable bindings for Jest
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.paket
fable
paket-files
test
.babelrc
.editorconfig
.gitignore
.travis.yml
Base.fsproj
License
README.md
jest.config.js
package-lock.json
package.json
paket.dependencies
paket.lock
paket.references

README.md

fable-jest

Fable bindings for Jest.

Build Status codecov

Setup

  • Install / update template

    • dotnet new -i Fable.Template.Jest
  • Create project

    • dotnet new fable-jest -n my-test-app -lang F#
  • Run the tests

    • dotnet fable npm-run test
  • Run the tests and output code coverage

    • dotnet fable npm-run coverage
  • Run the tests in watch mode:

    • In one terminal
      • dotnet fable start In a second terminal
      • npm run test-watch
        • This will allow you to run all, or just a subset of tests, and will re-test the changed files on save.

More Info

Refer to the template readme for more info.