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

stacklok / codegate-ui / 12866978279

20 Jan 2025 11:24AM UTC coverage: 67.828% (+2.8%) from 64.986%
12866978279

Pull #127

github

web-flow
Merge 018980856 into 51fd254af
Pull Request #127: test: system prompt editor & workspace route

247 of 438 branches covered (56.39%)

Branch coverage included in aggregate %.

493 of 653 relevant lines covered (75.5%)

56.61 hits per line

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

0.0
/src/features/workspace-system-prompt/lib/post-system-prompt.tsx
1
// Temporary fixture until API is implemented
2
// @ts-expect-error - mocked until implemented in backend
3
// eslint-disable-next-line @typescript-eslint/no-unused-vars
4
export async function postSystemPrompt(prompt: string) {
5
  return new Promise<void>((resolve) => {
×
6
    setTimeout(() => {
×
7
      alert("Prompt saved");
×
8
      resolve();
×
9
    }, 1000); // 1 second timeout
10
  });
11
}
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

© 2025 Coveralls, Inc