[Feature]: TS Type generation #546
Annotations
3 errors and 1 warning
|
test
Process completed with exit code 1.
|
|
tests/cli/deploy.spec.ts > deploy command (unified) > fails when not in a project directory:
src/core/project/config.ts#L73
Error: Expected output to contain "No Base44 project found"
stdout: ┌ Base 44
┌ Base 44
│
■ Project root not found. Please ensure config.jsonc or config.json exists in the project directory or base44/ subdirectory.
│
■ [Agent Hints]
│ Run: base44 create
│ Run: base44 link
│
└ Session: test-session | 2026-02-05T13:17:26.514Z
stderr: ConfigNotFoundError: Project root not found. Please ensure config.jsonc or config.json exists in the project directory or base44/ subdirectory.
at readProjectConfig (/home/runner/work/cli/cli/src/core/project/config.ts:73:11)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at deployAction (/home/runner/work/cli/cli/src/cli/commands/project/deploy.ts:22:23)
at runCommand (/home/runner/work/cli/cli/src/cli/utils/runCommand.ts:96:30)
at Command.<anonymous> (/home/runner/work/cli/cli/src/cli/commands/project/deploy.ts:100:7)
at Command.parseAsync (/home/runner/work/cli/cli/node_modules/commander/lib/command.js:1092:5)
at CLITestkit.run (/home/runner/work/cli/cli/tests/cli/testkit/CLITestkit.ts:144:7)
at /home/runner/work/cli/cli/tests/cli/deploy.spec.ts:19:20
at file:///home/runner/work/cli/cli/node_modules/@vitest/runner/dist/index.js:915:20
❯ readProjectConfig src/core/project/config.ts:73:11
❯ deployAction src/cli/commands/project/deploy.ts:22:23
❯ runCommand src/cli/utils/runCommand.ts:96:30
❯ Command.<anonymous> src/cli/commands/project/deploy.ts:100:7
❯ Command.parseAsync node_modules/commander/lib/command.js:1092:5
❯ CLITestkit.run tests/cli/testkit/CLITestkit.ts:144:7
❯ tests/cli/deploy.spec.ts:19:20
❯ CLIResultMatcher.toContain tests/cli/testkit/CLIResultMatcher.ts:38:13
❯ tests/cli/deploy.spec.ts:22:28
|
|
tests/cli/deploy.spec.ts > deploy command (unified) > reports no resources when project is empty:
tests/cli/deploy.spec.ts#L7
Error: Test timed out in 10000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ tests/cli/deploy.spec.ts:7:3
|
|
test
Unexpected input(s) 'cache', valid inputs are ['bun-version', 'bun-version-file', 'bun-download-url', 'registries', 'registry-url', 'scope', 'no-cache', 'token']
|