We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2ad508 commit c980ab0Copy full SHA for c980ab0
packages/git-proxy-cli/test/testCli.test.ts
@@ -25,7 +25,10 @@ const TEST_PASSWORD = 'testpassword';
25
const TEST_EMAIL = 'jane.doe@email.com';
26
const TEST_GIT_ACCOUNT = 'testGitAccount';
27
28
-const CLI_PATH = 'npx git-proxy-cli';
+const CLI_PATH =
29
+ process.env.NODE_ENV === 'test'
30
+ ? 'node ./packages/git-proxy-cli/dist/index.js'
31
+ : 'npx git-proxy-cli';
32
33
describe('test git-proxy-cli', function () {
34
// *** help ***
0 commit comments