Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.
/ f-mocha Public archive

Mocha wrapper for f-promise

License

Notifications You must be signed in to change notification settings

Sage/f-mocha

Repository files navigation

f-mocha

Mocha wrapper for f-promise

f-mocha is a companion package for f-promise. It provides the small wrapper which is needed to run unit tests written with mocha and f-promise.

Installation

npm install --save-dev f-mocha

Usage

Just run Mocha with the following argument

mocha --ui f-mocha

Now you can write your tests as if they were all synchronous. See this unit test for an example.

License

MIT.