0.0.3 • Published 8 years ago

fable-import-mocha v0.0.3

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
8 years ago

fable-import-mocha

Fable bindings for Mocha

Installation

$ npm install --save fable-core
$ npm install --save-dev fable-import-mocha

Usage

Check the sample for more info.

With an F# project (.fsproj)

  <ItemGroup>
    <Reference Include="node_modules/fable-core/Fable.Core.dll" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="node_modules/fable-import-mocha/Fable.Import.Mocha.fs" />
  </ItemGroup>

With an F# script (.fsx)

#r "node_modules/fable-core/Fable.Core.dll"
#load "node_modules/fable-import-mocha/Fable.Import.Mocha.fs"

open Fable.Core
open Fable.Import