This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

vit / test / link.test.js
597 B 24 lines
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 link', () => { 8 test('--help shows usage', () => { 9 const result = run('link --help'); 10 expect(result.stdout).toContain('Link'); 11 expect(result.exitCode).toBe(0); 12 }); 13 14 test('creates symlink without error', () => { 15 const result = run('link'); 16 expect(result.exitCode).toBe(0); 17 }); 18 19 test('is idempotent', () => { 20 run('link'); 21 const result = run('link'); 22 expect(result.exitCode).toBe(0); 23 }); 24});