Code coverage report for src/custom-nodes/Node.js

# All files / src/custom-nodes Node.js

90.91% Statements 10/11
100% Branches 1/1
100% Functions 1/1
90.91% Lines 10/11

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    1x
    1x

    6x
    6x
    6x

    12x

    6x
    6x

    4x

    1x
     "use strict";
    const AppendState_1 = require('../enums/AppendState');
    const NodeUtils_1 = require("../NodeUtils");
    class Node {
        constructor(options) {
            this.appendState = AppendState_1.AppendState.BeforeObfuscation;
            this.options = options;
        }
        getAppendState() {
            return this.appendState;
        }
        getNode() {
            NodeUtils_1.NodeUtils.parentize(this.node);
            return this.node;
        }
        setNode(node) {
            this.node = node;
        }
        updateNode() {
            this.node = this.getNodeStructure();
        }
    }
    exports.Node = Node;
    //# sourceMappingURL=Node.js.map