feat: add upgrade notification when newer CLI version is available #480
Annotations
4 errors
|
test
Process completed with exit code 1.
|
|
tests/cli/version-check.spec.ts > upgrade notification > does not display notification when version check fails:
tests/cli/version-check.spec.ts#L58
TypeError: Cannot read properties of undefined (reading 'toContain')
❯ tests/cli/version-check.spec.ts:58:28
|
|
tests/cli/version-check.spec.ts > upgrade notification > does not display notification when version is current:
tests/cli/version-check.spec.ts#L45
TypeError: Cannot read properties of undefined (reading 'toContain')
❯ tests/cli/version-check.spec.ts:45:28
|
|
tests/cli/version-check.spec.ts > upgrade notification > displays upgrade notification when newer version is available:
tests/cli/testkit/CLIResultMatcher.ts#L38
Error: Expected output to contain "Update available!"
stdout: ┌ Base 44
│
└ Logged in as: test@example.com
stderr:
❯ CLIResultMatcher.toContain tests/cli/testkit/CLIResultMatcher.ts:38:13
❯ tests/cli/version-check.spec.ts:31:28
|