import { describe, it, expect } from 'vitest';
import { DEFAULT_LIST_RESPONSE_ARGS_OF_ITEM } from './constants';

describe('Constants', () => {
  describe('DEFAULT_LIST_RESPONSE_ARGS_OF_ITEM', () => {
    it('should have error set to false', () => {
      expect(DEFAULT_LIST_RESPONSE_ARGS_OF_ITEM.error).toBe(false);
    });

    it('should have hits set to 0', () => {
      expect(DEFAULT_LIST_RESPONSE_ARGS_OF_ITEM.hits).toBe(0);
    });

    it('should have empty result array', () => {
      expect(DEFAULT_LIST_RESPONSE_ARGS_OF_ITEM.result).toEqual([]);
    });

    it('should have skip set to 0', () => {
      expect(DEFAULT_LIST_RESPONSE_ARGS_OF_ITEM.skip).toBe(0);
    });

    it('should have take set to 0', () => {
      expect(DEFAULT_LIST_RESPONSE_ARGS_OF_ITEM.take).toBe(0);
    });

    it('should have empty invalidProperties object', () => {
      expect(DEFAULT_LIST_RESPONSE_ARGS_OF_ITEM.invalidProperties).toEqual({});
    });
  });
});
