mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-16 08:25:14 +02:00
Merge remote-tracking branch 'origin/main' into audit-ktx-yaml-params
# Conflicts: # packages/cli/src/standalone-smoke.test.ts # scripts/package-artifacts.mjs
This commit is contained in:
commit
12866fa487
37 changed files with 375 additions and 56 deletions
|
|
@ -54,6 +54,7 @@
|
|||
"@types/better-sqlite3": "^7.6.13",
|
||||
"@types/node": "^25.7.0",
|
||||
"@types/react": "^19.2.14",
|
||||
"@vitest/coverage-v8": "^4.1.6",
|
||||
"better-sqlite3": "^12.10.0",
|
||||
"ink-testing-library": "^4.0.0",
|
||||
"typescript": "^6.0.3",
|
||||
|
|
|
|||
|
|
@ -201,6 +201,9 @@ describe('standalone built ktx CLI smoke', () => {
|
|||
const result = await runBuiltCli(['status', '--verbose', '--no-input']);
|
||||
|
||||
expect(result.stdout).toMatch(/KTX status/);
|
||||
if (result.stdout.includes('No project here yet.')) {
|
||||
expect(result.stdout).toContain('Before you can run ktx setup');
|
||||
}
|
||||
expect(result.stdout).toContain('Node 22+');
|
||||
expect(result.stdout).toContain('Workspace-local CLI');
|
||||
expect(result.stderr === '' || result.stderr.startsWith('Project: ')).toBe(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue