Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

452 B
Raw Blame
import { describe, expect, it } from 'vitest';
import { taskProjectValue } from './task-project';

describe('task Project property', () => {
  it('builds the value naming a project, or clearing it', () => {
    expect(taskProjectValue('initiative')).toEqual({
      valueType: 'ENTITY',
      refs: [{ entity_id: 'initiative', entity_type: 'INITIATIVE' }],
    });
    expect(taskProjectValue()).toEqual({ valueType: 'ENTITY', refs: null });
  });
});