import test from 'node:test'; import assert from 'node:assert/strict'; import type { Bug } from './bug'; test('bug supports planned fix time', () => { const bug: Bug = { id: 'bug-1', bugNo: 'BUG-001', versionId: 'version-1', testCaseId: 'tc-1', title: 'cannot save', description: 'save button has no response', severity: 'major', priority: 'P1', reportedBy: 'QA', assigneeId: 'Dev', status: 'open', plannedFixAt: '2026-07-01T18:00:00.000Z', createdAt: '2026-06-25T00:00:00.000Z', updatedAt: '2026-06-25T00:00:00.000Z', }; assert.equal(bug.plannedFixAt, '2026-07-01T18:00:00.000Z'); });