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

FAIRsharing / fairsharing.github.io / 26458753582

26 May 2026 03:42PM UTC coverage: 96.033% (-0.2%) from 96.212%
26458753582

Pull #2784

github

prakhyatox
adding path in viteCompression
Pull Request #2784: Replacing prerender 2754

3667 of 3853 branches covered (95.17%)

Branch coverage included in aggregate %.

507 of 565 new or added lines in 68 files covered. (89.73%)

27 existing lines in 5 files now uncovered.

38962 of 40537 relevant lines covered (96.11%)

5.23 hits per line

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

70.83
/src/utils/setupUtils.js
1
export const bootstrapApp = async (store, router) => {
1✔
2
  try {
3✔
3
    await store.dispatch("users/login");
3!
UNCOV
4
    await store.dispatch("introspection/fetchParameters");
×
UNCOV
5
    await store.dispatch("searchFilters/assembleFilters");
×
UNCOV
6
    await store.dispatch("messages/setMessages");
×
NEW
7
  }
×
8
  catch (error) {
3✔
9
    if (store && error.response && error.response.status === 503) {
3!
UNCOV
10
      store.commit("introspection/setMaintenanceMode");
×
NEW
11
    }
×
12
    else if (router) {
3!
UNCOV
13
      await router.replace("/error/500");
×
UNCOV
14
    }
×
15
    else {
3✔
16
      console.error(
3✔
17
        "Bootstrap failed and router instance was unavailable:",
3✔
18
        error,
3✔
19
      );
3✔
20
    }
3✔
21
  }
3✔
22
};
3✔
23

24
export const globalFilters = {
1✔
25
  cleanString(str) {
1✔
26
    if (!str) return "";
3!
27
    return str
3✔
28
      .replace(/_/g, " ")
3✔
29
      .replace(/([A-Z])/g, " $1")
3✔
30
      .replace(/^./, function (match) {
3✔
31
        return match.toUpperCase();
3✔
32
      });
3✔
33
  },
1✔
34
  capitalize(str) {
1✔
35
    if (!str) return "";
2✔
36
    return str.charAt(0).toUpperCase() + str.slice(1);
1✔
37
  },
1✔
38
};
1✔
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