Skip to content

jgrund/fable-jest

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.