Innovenergy_trunk/frontend/node_modules/testcafe/lib/utils/is-localhost.js

9 lines
959 B
JavaScript
Raw Permalink Normal View History

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const localhost_names_1 = require("./localhost-names");
function default_1(hostname) {
return Object.values(localhost_names_1.LOCALHOST_NAMES).includes(hostname);
}
exports.default = default_1;
module.exports = exports.default;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtbG9jYWxob3N0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3V0aWxzL2lzLWxvY2FsaG9zdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHVEQUFvRDtBQUVwRCxtQkFBeUIsUUFBZ0I7SUFDckMsT0FBTyxNQUFNLENBQUMsTUFBTSxDQUFDLGlDQUFlLENBQUMsQ0FBQyxRQUFRLENBQUMsUUFBUSxDQUFDLENBQUM7QUFDN0QsQ0FBQztBQUZELDRCQUVDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTE9DQUxIT1NUX05BTUVTIH0gZnJvbSAnLi9sb2NhbGhvc3QtbmFtZXMnO1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiAoaG9zdG5hbWU6IHN0cmluZyk6IGJvb2xlYW4ge1xuICAgIHJldHVybiBPYmplY3QudmFsdWVzKExPQ0FMSE9TVF9OQU1FUykuaW5jbHVkZXMoaG9zdG5hbWUpO1xufVxuIl19