import { describe, it, expect } from 'vitest';
import { RefillListStatus } from './refill.enums.js';

describe(RefillListStatus.name, () => {
  it('has exactly 4 values', () => {
    expect(Object.values(RefillListStatus)).toHaveLength(4);
  });

  it.each([
    ['ACTIVE', 'active'],
    ['SHOPPING', 'shopping'],
    ['COMPLETED', 'completed'],
    ['ARCHIVED', 'archived'],
  ])('%s = %s', (key, value) => {
    expect(RefillListStatus[key as keyof typeof RefillListStatus]).toBe(value);
  });
});
