UNPKG

find-node-modules

Version:

Return an array of all parent node_modules directories

18 lines (13 loc) 482 B
// var local = require("../../lib/services/localGit"); // describe("localGit service", function(){ // it ("can get commit", function(){ // if (process.version.substr(0, 5) === 'v0.10') { // expect(local.configuration().commit).to.match(/^\w{40}$/); // } // }); // it ("can get branch", function(){ // if (process.version.substr(0, 5) === 'v0.10') { // expect(local.configuration().branch).to.match(/^[\w\-\:]{1,50}$/); // } // }); // });