Nanotech Parading Mars

    malta-mocha

    1.0.18 • Public • Published

    npm version npm downloads npm downloads

    This plugin can be used on: .js files and even on .coffee and .ts files after using the right plugin

    The plugin will run mocha on the testfolder found in the execution path.

    Sample usage:

    malta app/script/main.js public/js -plugins=malta-mocha
    

    or in the .json file :

    "app/script/main.js" : "public/js -plugins=malta-mocha"
    

    or in a script :

    var Malta = require('malta');
    Malta.get().check([
        'app/script/main.js',
        'public/js',
        '-plugins=malta-mocha'
        ]).start(function (o) {
            var s = this;
            console.log('name : ' + o.name)
            console.log("content : \n" + o.content);
            'plugin' in o && console.log("plugin : " + o.plugin);
            console.log('=========');
        });

    Install

    npm i malta-mocha

    DownloadsWeekly Downloads

    4

    Version

    1.0.18

    License

    MIT

    Unpacked Size

    2.97 kB

    Total Files

    4

    Last publish

    Collaborators

    • fedeghe