Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

fix(lint): collapse get-task-item-stats test call to one line

justinc2f31d51d87b
diff --git a/apps/web/src/lib/get-task-item-stats.test.ts b/apps/web/src/lib/get-task-item-stats.test.ts
index 435a8344e..6e5fc52e7 100644
--- a/apps/web/src/lib/get-task-item-stats.test.ts
+++ b/apps/web/src/lib/get-task-item-stats.test.ts
@@ -31,9 +31,7 @@ describe("getTaskItemStats", () => {
it("does not count task items in blockquoted fenced code blocks", () => {
expect(
- getTaskItemStats(
- "> ```md\n> - [ ] Example\n> ```\n> - [x] Real item",
- ),
+ getTaskItemStats("> ```md\n> - [ ] Example\n> ```\n> - [x] Real item"),
).toEqual({ total: 1, completed: 1 });
});