mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-08-21 22:44:31 +00:00
Improve dashboard refresh coordination, scrolling, responsive layout, and data-density behavior, including the Windows-safe resize correction validated on the final head.
15 lines
541 B
TypeScript
15 lines
541 B
TypeScript
import { spawnSync } from 'node:child_process'
|
|
|
|
import { describe, expect, it } from 'vitest'
|
|
|
|
describe('CLI refresh help', () => {
|
|
it.each(['report', 'today', 'month'])('%s discloses the refresh floor and disable value', command => {
|
|
const result = spawnSync(process.execPath, ['--import', 'tsx', 'src/cli.ts', command, '--help'], {
|
|
cwd: process.cwd(),
|
|
encoding: 'utf8',
|
|
})
|
|
|
|
expect(result.status).toBe(0)
|
|
expect(result.stdout).toMatch(/Auto-refresh interval in seconds \(minimum 60; 0 to\s+disable\)/)
|
|
})
|
|
})
|