import { describe, expect, it } from 'bun:test';
import { pluginProcessName } from './ecosystem';

// The read/write pair is exercised live in `install.test.ts` against a real generated file, because the
// thing worth testing is that a round trip preserves the CORE entries officer-setup wrote — and that is a
// property of the real file's shape, not of a fixture I would author to match my own parser.

describe('pluginProcessName', () => {
  it('is one rule, so nothing has to look it up', () => {
    expect(pluginProcessName('offscale')).toBe('officer-offscale');
    expect(pluginProcessName('example')).toBe('officer-example');
  });
});
