Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

657 B
Raw Blame
import { describe, it, expect } from 'vitest';
import migration from './079-song-training-progress.js';

describe('migration 079 — song training-progress registration stub', () => {
  it('is a no-op that records the additive schema bump', async () => {
    const result = await migration.up({ rootDir: '/tmp/nonexistent' });
    expect(result).toEqual({ updated: 0, reason: 'additive-no-op' });
  });

  it('is idempotent (re-running changes nothing)', async () => {
    const first = await migration.up({ rootDir: '/tmp/nonexistent' });
    const second = await migration.up({ rootDir: '/tmp/nonexistent' });
    expect(second).toEqual(first);
  });
});