23 lines
804 B
TypeScript
23 lines
804 B
TypeScript
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')
|
|
})
|
|
})
|