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

ecamp / ecamp3 / 6213042372

17 Sep 2023 10:00AM CUT coverage: 26.441% (-35.8%) from 62.255%
6213042372

push

github

web-flow
Merge pull request #3268 from BacLuc/dev-setup-improve-frontend-env-experiance

frontend: use vite's mechanism for env variables to fill window.envir…

503 of 772 branches covered (0.0%)

34 of 65 new or added lines in 14 files covered. (52.31%)

13502 existing lines in 185 files now uncovered.

9060 of 34265 relevant lines covered (26.44%)

11.53 hits per line

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

0.0
/frontend/src/components/toast/toasts.js
UNCOV
1
import MultiLineToast from '@/components/toast/MultiLineToast.vue'
×
UNCOV
2
import i18n from '@/plugins/i18n'
×
UNCOV
3
import { violationsToFlatArray } from '@/helpers/serverError'
×
UNCOV
4

×
UNCOV
5
function multiLineToast(lines) {
×
6
  return {
×
UNCOV
7
    component: MultiLineToast,
×
UNCOV
8
    props: {
×
UNCOV
9
      lines,
×
UNCOV
10
      generalErrorText: i18n.tc('components.toast.toasts.multiLineToast.generalError'),
×
UNCOV
11
    },
×
UNCOV
12
  }
×
UNCOV
13
}
×
UNCOV
14

×
UNCOV
15
function errorToMultiLineToast(error) {
×
16
  return multiLineToast(violationsToFlatArray(error, i18n))
×
UNCOV
17
}
×
UNCOV
18

×
UNCOV
19
export { errorToMultiLineToast, multiLineToast }
×
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