mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-20 05:11:48 +00:00
fix: clean up tests directory structure
- Remove old test files that were moved to native/ subdirectories - Clean install-test.sh, install-test.ps1, uninstall-test.sh, uninstall-test.ps1, test-custom-claude-path.ps1 - Tests now properly organized: native/, npm/, shared/, unit/, integration/ - Maintains clean root test directory with only orchestrators and docs
This commit is contained in:
1 parent
1b5d3e4825
commit
b5bc8d207c
6 files changed
+2
-2359
No files matched your search
@@ -42,10 +42,10 @@ describe('npm CLI', () => {
|
||||
});
|
||||
|
||||
it('handles flag -p with value', function() {
|
||||
this.timeout(5000);
|
||||
this.timeout(10000);
|
||||
|
||||
try {
|
||||
execSync(`node "${ccsPath}" -p "test prompt"`, { stdio: 'pipe' });
|
||||
execSync(`node "${ccsPath}" -p "test prompt"`, { stdio: 'pipe', timeout: 8000 });
|
||||
} catch (e) {
|
||||
const output = e.stderr?.toString() || e.stdout?.toString() || '';
|
||||
assert(!output.includes("Profile '-p' not found"), 'Should not treat -p as profile');
|
||||
|
||||
Reference in new issue
Block a user