import { describe, it, expect } from 'vitest';
import { CabinetItemStatus } from './cabinet.enums.js';

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

  it.each([
    ['ACTIVE', 'active'],
    ['DEPLETED', 'depleted'],
    ['EXPIRED', 'expired'],
  ])('%s = %s', (key, value) => {
    expect(CabinetItemStatus[key as keyof typeof CabinetItemStatus]).toBe(value);
  });
});
