useTransitionConfig.spec.ts 406 B

123456789101112
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import { useTransitionConfig } from '../useTransitionConfig.ts'
  3. describe('useTransitionConfig', () => {
  4. it('sets transition time to undefined in test environment', () => {
  5. const { durations } = useTransitionConfig()
  6. expect(durations.normal?.enter).toBeFalsy()
  7. expect(durations.normal?.leave).toBeFalsy()
  8. })
  9. })