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

bahmutov / code-coverage-vue-example / 0cb93b18-b121-48ee-9239-60b84cc12089

17 Feb 2024 07:05PM CUT coverage: 35.714%. Remained the same
0cb93b18-b121-48ee-9239-60b84cc12089

Pull #315

circleci

web-flow
Update dependency webpack to v4.47.0
Pull Request #315: Update dependency webpack to v4.47.0

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