feat: initial setup with WhatsApp CRM apps and sync services
This commit is contained in:
22
apps/whatsapp-crm/tests/project.test.ts
Normal file
22
apps/whatsapp-crm/tests/project.test.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
describe('Project Setup', () => {
|
||||
it('should have types defined', () => {
|
||||
expect(true).toBe(true)
|
||||
})
|
||||
|
||||
it('should have STAGES constant', () => {
|
||||
const { STAGES, STAGE_LIST } = require('@/lib/types')
|
||||
expect(STAGES.LEADS_DE_ENTRADA).toBe('LEADS DE ENTRADA')
|
||||
expect(STAGES.DECIDINDO).toBe('DECIDINDO')
|
||||
expect(STAGES.DISCUSSAO_DE_CONTRATO).toBe('DISCUSSAO DE CONTRATO')
|
||||
expect(STAGES.DECISAO_FINAL).toBe('DECISAO FINAL')
|
||||
expect(STAGE_LIST).toHaveLength(4)
|
||||
})
|
||||
|
||||
it('should have stage list exported', () => {
|
||||
const { STAGE_LIST } = require('@/lib/types')
|
||||
expect(STAGE_LIST).toContain('LEADS DE ENTRADA')
|
||||
expect(STAGE_LIST).toContain('DECIDINDO')
|
||||
expect(STAGE_LIST).toContain('DISCUSSAO DE CONTRATO')
|
||||
expect(STAGE_LIST).toContain('DECISAO FINAL')
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user