A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/start-runner/mocha below:

start-runner/mocha: :space_invader: Mocha task for Start

Mocha task for Start.

npm install --save-dev start-mocha
# or
yarn add --dev start-mocha
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.

mocha(options)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4