UNPKG

556 BJavaScriptView Raw
1/**
2 * Apeman task contribution plugin to run test with nodeunit.
3 * @module apeman-task-contrib-nodeunit
4 * @see https://github.com/apeman-repo/apeman
5 * @see https://github.com/caolan/nodeunit
6 */
7
8"use strict";
9
10/**
11 * Run nodeunit testcase.
12 * @function apemanTaskContribNodeunit
13 * @param {string} patterns - Source file name pattern.
14 * @param {object} options - Optional setting.
15 * @param {string} [options.reporter="default"]- Name of nodeunit reporter.
16 * @param {function} [callback] - Callback when done.
17 */
18module.exports = require('./run');