import test from "node:test"
import assert from "node:assert/strict"
import { readFileSync } from "node:fs"

const source = readFileSync(new URL("../src/features/tasks/TaskPanelView.tsx", import.meta.url), "utf8")

test("task panel output uses real artifact paths and produced timestamps", () => {
  assert.match(source, /artifact\.path\s*\?\?\s*artifact\.url/)
  assert.match(source, /artifact\.producedAt\s*\?\?/)
})
