Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abandoned files work #432

Merged
merged 12 commits into from
Jan 27, 2025
Prev Previous commit
Next Next commit
. t use cwd
ilandikov committed Jan 27, 2025
commit 77f5345b63074eaf804c1dbb5e79e29b60d80d8e
5 changes: 2 additions & 3 deletions test/commandLineTests.mts
Original file line number Diff line number Diff line change
@@ -2,12 +2,11 @@ import shelljs from "shelljs";
import path from "path";
import fs from "fs";
import * as os from "node:os";
import assert from "assert";

describe("Command Line", function () {
it("Should run approvals CLI with basic text input", function (done) {
// get the absolute path for ./
// const pwd = process.cwd();
const pwd = '/Users/il/Documents/git/Approvals.NodeJS';
const pwd = process.cwd();
var cliTestCommand =
'echo "Hello\nWorld" | ' +
path.join(pwd, "/", "bin", "index.js") +