15 lines
528 B
TypeScript
15 lines
528 B
TypeScript
|
|
import { describe, expect, test } from 'bun:test'
|
||
|
|
|
||
|
|
import { renderUsage } from 'citty'
|
||
|
|
|
||
|
|
import { checkCommand, smokeCommand, verifyCommand } from '../src/commands'
|
||
|
|
|
||
|
|
describe('package quality commands', () => {
|
||
|
|
test('exposes stable check, smoke, and verify workflows', async () => {
|
||
|
|
expect(checkCommand.meta?.name).toBe('check')
|
||
|
|
expect(smokeCommand.meta?.name).toBe('smoke')
|
||
|
|
expect(verifyCommand.meta?.name).toBe('verify')
|
||
|
|
expect(await renderUsage(verifyCommand)).toContain('built-package smoke tests')
|
||
|
|
})
|
||
|
|
})
|