• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

popstas / planfix-mcp-server / 15983391046

30 Jun 2025 08:50PM UTC coverage: 81.158% (-0.2%) from 81.338%
15983391046

push

github

popstas
feat(cache): allow clearing planfix objects cache

413 of 572 branches covered (72.2%)

Branch coverage included in aggregate %.

28 of 42 new or added lines in 4 files covered. (66.67%)

3007 of 3642 relevant lines covered (82.56%)

2.28 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

81.25
/src/scripts/cache-clear.ts
1
import { getCacheProvider } from "../lib/cache.js";
1✔
2
import { clearObjectsCache } from "../lib/planfixObjects.js";
1✔
3

4
export async function cacheClear(): Promise<void> {
1✔
5
  const cache = getCacheProvider();
1✔
6
  await cache.clear?.();
1✔
7
  await clearObjectsCache();
1✔
8
}
1✔
9

10
const currentFileUrl = new URL(import.meta.url);
1✔
11
if (
1✔
12
  process.argv[1] &&
1✔
13
  new URL(`file://${process.argv[1]}`).href === currentFileUrl.href
1✔
14
) {
1!
NEW
15
  cacheClear();
×
NEW
16
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc