activityMessageBuilder.spec.ts 500 B

12345678910111213141516
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import { activityMessageBuilder } from '../index.ts'
  3. describe('activity message builder are available', () => {
  4. it('should return all search plugins', () => {
  5. const builderList = activityMessageBuilder
  6. const models = Object.keys(builderList)
  7. expect(models).toContain('Ticket')
  8. expect(models).toContain('User')
  9. expect(models).toContain('Organization')
  10. expect(models).toContain('Group')
  11. })
  12. })