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

Haixing-Hu / vue3-class-component / 7c8a3f3e-046f-4ced-b630-a0c6636a0ccb

09 Jun 2025 08:22AM UTC coverage: 100.0%. Remained the same
7c8a3f3e-046f-4ced-b630-a0c6636a0ccb

push

circleci

Haixing-Hu
chore: update yarn.lock after dependency changes

151 of 151 branches covered (100.0%)

Branch coverage included in aggregate %.

222 of 222 relevant lines covered (100.0%)

19.39 hits per line

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

100.0
/src/impl/collect-methods.js
1
////////////////////////////////////////////////////////////////////////////////
2
//
3
//    Copyright (c) 2022 - 2024.
4
//    Haixing Hu, Qubit Co. Ltd.
5
//
6
//    All rights reserved.
7
//
8
////////////////////////////////////////////////////////////////////////////////
9
import collectMethod from './collect-method';
10

11
/**
12
 * Collects all the methods defined in a class.
13
 *
14
 * @param {Function} Class
15
 *     The constructor of the class being decorated.
16
 * @param {Object} options
17
 *     The additional options of the Vue component being built.
18
 * @private
19
 * @author Haixing Hu
20
 */
21
function collectMethods(Class, options) {
22
  const proto = Class.prototype;
43✔
23
  const keys = Object.getOwnPropertyNames(proto);
43✔
24
  for (const key of keys) {
43✔
25
    collectMethod(proto, key, options);
115✔
26
  }
27
}
28

29
export default collectMethods;
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