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

node-opcua / node-opcua / 22636309940

03 Mar 2026 06:03PM UTC coverage: 92.756% (+1.9%) from 90.81%
22636309940

push

github

erossignon
test: disable ENOENT on overlapping trustCertificate invocations in test environments with concurrency tests

18684 of 22141 branches covered (84.39%)

23 of 37 new or added lines in 1 file covered. (62.16%)

5775 existing lines in 228 files now uncovered.

160668 of 173216 relevant lines covered (92.76%)

875869.8 hits per line

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

77.14
/packages/node-opcua-client-proxy/source/proxy_state.ts
1
/**
2✔
2
 * @module node-opcua-client-proxy
2✔
3
 */
2✔
4
import { NodeId } from "node-opcua-nodeid";
2✔
5
import { ProxyNode } from "./proxy_transition";
2✔
6

2✔
7
export class ProxyState {
32✔
8
    private _node: any;
32✔
9

32✔
10
    constructor(proxyNode: ProxyNode) {
32✔
11
        this._node = proxyNode;
32✔
12
    }
32✔
13

32✔
14
    public get browseName(): string {
32✔
15
        return this._node.browseName.toString();
14✔
16
    }
14✔
17

32✔
18
    public get stateNumber(): string {
32✔
UNCOV
19
        // note stateNumber has no real dataValue
×
20
        return this._node.stateNumber.nodeId.value.toString();
×
UNCOV
21
    }
×
22

32✔
23
    public get nodeId(): NodeId {
32✔
UNCOV
24
        // note stateNumber has no real dataValue
×
25
        return this._node.nodeId;
×
UNCOV
26
    }
×
27

32✔
28
    public toString(): string {
32✔
29
        return "state " + this.browseName + " stateNumber :" + this.stateNumber.toString();
×
UNCOV
30
    }
×
31
}
32✔
32

2✔
33
export function makeProxyState(node: ProxyNode): ProxyState {
30✔
34
    return new ProxyState(node);
30✔
35
}
30✔
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