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

OneBusAway / wayfinder / 13669485724

05 Mar 2025 05:56AM UTC coverage: 15.737% (-0.8%) from 16.487%
13669485724

push

github

web-flow
Merge pull request #198 from OneBusAway/refactor/survey-hero-question

Refactor/survey-hero-question

123 of 232 branches covered (53.02%)

Branch coverage included in aggregate %.

4 of 47 new or added lines in 8 files covered. (8.51%)

164 existing lines in 15 files now uncovered.

506 of 3765 relevant lines covered (13.44%)

0.46 hits per line

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

54.55
/src/stores/surveyStore.js
1
import { writable } from 'svelte/store';
1✔
2

3
export const showSurveyModal = writable(false);
1✔
4
export const surveyStore = writable(null);
1✔
5

6
const initial = {};
1✔
7

8
export const answeredSurveys = writable(initial);
1✔
9

10
export function markSurveyAnswered(surveyId) {
1✔
NEW
11
        answeredSurveys.update((map) => {
×
NEW
12
                localStorage.setItem(`survey_${surveyId}_answered`, 'true');
×
NEW
13
                return { ...map, [surveyId]: true };
×
NEW
14
        });
×
NEW
15
}
×
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