How to use the grep function from mocha

Find comprehensive JavaScript mocha.grep code examples handpicked from public code repositorys.

105
106
107
108
109
110
111
112
113
114
 * Exclusive suite.
 */

context.describe.only = function(title, fn){
        var suite = context.describe(title, fn);
        mocha.grep(suite.fullTitle());
        return suite;
};

/**
fork icon10
star icon0
watch icon16

+ 3 other calls in file