open source is social v-it.org
at main 18 lines 486 B view raw
1// SPDX-License-Identifier: MIT 2// Copyright (c) 2026 sol pbc 3 4import { describe, test, expect } from 'bun:test'; 5import { run } from './helpers.js'; 6 7describe('vit hack', () => { 8 test('--help shows usage', () => { 9 const result = run('hack --help'); 10 expect(result.stdout).toContain('Fork'); 11 expect(result.exitCode).toBe(0); 12 }); 13 14 test('--help shows --from option', () => { 15 const result = run('hack --help'); 16 expect(result.stdout).toContain('--from'); 17 }); 18});