diff --git a/frontend/src/tests/grabber.test.ts b/frontend/src/tests/grabber.test.ts index d61b449..461b907 100644 --- a/frontend/src/tests/grabber.test.ts +++ b/frontend/src/tests/grabber.test.ts @@ -30,6 +30,10 @@ describe('tasks.json validation', () => { expect(["open-data", "text", "label"]).toContain(t.type) if (t.type == "text") { expect(t.htmlContent?.trim()).toBeTruthy() + if (!t.hidden) { + expect(t.htmlContent).not.toContain("FIXME") + expect(t.htmlContent).not.toContain("TODO") + } } else if (t.type == "open-data") { expect(t.taskReference).toBeTruthy() expect(g.parseTaskId(t.taskReference)).toBeTruthy()