useTabManager.spec.ts 363 B

123456789101112
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import { isRef } from 'vue'
  3. import { useTabManager } from '#desktop/components/CommonTabManager/useTabManager.ts'
  4. describe('useTabManager', () => {
  5. it('test useTabManager', () => {
  6. const composable = useTabManager()
  7. expect(isRef(composable.activeTab)).toBeTruthy()
  8. })
  9. })