Code coverage report for src/Options.js

# All files / src Options.js

100% Statements 6/6
100% Branches 1/1
100% Functions 1/1
100% Lines 6/6

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    1x
    1x

    5x
    5x

    202x

    1x
     "use strict";
    const OptionsNormalizer_1 = require("./OptionsNormalizer");
    const DefaultPreset_1 = require("./preset-options/DefaultPreset");
    class Options {
        constructor(options) {
            this.options = Object.freeze(OptionsNormalizer_1.OptionsNormalizer.normalizeOptionsPreset(Object.assign({}, DefaultPreset_1.DEFAULT_PRESET, options)));
        }
        get(optionName) {
            return this.options[optionName];
        }
    }
    exports.Options = Options;
    //# sourceMappingURL=Options.js.map