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

bahmutov / code-coverage-vue-example / 88bcde1c-c982-4cb2-9250-784ddc8400d5

01 Mar 2025 04:29PM CUT coverage: 35.714%. Remained the same
88bcde1c-c982-4cb2-9250-784ddc8400d5

push

circleci

web-flow
Update dependency sass to v1.85.1 (#332)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

0 of 2 branches covered (0.0%)

Branch coverage included in aggregate %.

5 of 12 relevant lines covered (41.67%)

0.83 hits per line

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

50.0
/src/components/BaseInputText.vue
1
<template>
2
  <input
3
    type="text"
4
    class="input"
5
    :value="value"
6
    v-on="listeners"
7
  >
8
</template>
9

10
<script>
11
export default {
12
  props: {
13
    value: {
14
      type: String,
15
      default: '',
16
    }
17
  },
18
  computed: {
19
    listeners () {
20
      return {
2✔
21
        // Pass all component listeners directly to input
22
        ...this.$listeners,
23
        // Override input listener to work with v-model
24
        input: event => this.$emit('input', event.target.value)
×
25
      }
26
    }
27
  }
28
}
29
</script>
30

31
<style lang="scss" scoped>
32
@import '../variables.scss';
33

34
.input {
35
  width: 100%;
36
  padding: 8px 10px;
37
  border: 1px solid $vue-blue;
38
}
39
</style>
40

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