3.0.0 • Published 7 years ago

start-mocha v3.0.0

Weekly downloads
16
License
MIT
Repository
github
Last release
7 years ago

start-mocha

npm linux build windows build coverage deps

Mocha task for Start.

Install

npm install --save-dev start-mocha
# or
yarn add --dev start-mocha

Usage

import Start from 'start';
import reporter from 'start-pretty-reporter';
import files from 'start-files';
import watch from 'start-watch';
import mocha from 'start-mocha';

const start = Start(reporter());

export const test = () => start(
  files('test/**/*.js'),
  mocha()
);

export const tdd = () => start(
  files([ 'lib/**/*.js', 'test/**/*.js' ]),
  watch(test)
);

This task relies on array of files, see documentation for details.

Arguments

mocha(options)

3.0.0

7 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.2.0

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago