activityMessageBuilder.spec.ts 452 B

123456789101112131415
  1. // Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/
  2. import { activityMessageBuilder } from '../index'
  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('Group')
  10. })
  11. })