1.0.18 • Published 4 years ago

malta-mocha v1.0.18

Weekly downloads
6
License
MIT
Repository
github
Last release
4 years ago

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('=========');
    });
1.0.18

4 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 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