import { describe, it, expect } from 'vitest'
import { useCategories, CategoriesModel } from './categories'

describe('categories model', () => {
  it('should export useCategories hook', () => {
    expect(useCategories).toBeDefined()
    expect(typeof useCategories).toBe('function')
  })

  it('should export CategoriesModel component', () => {
    expect(CategoriesModel).toBeDefined()
    expect(typeof CategoriesModel).toBe('function')
  })
})
