@applitools/core
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -38,2 +38,3 @@ "use strict"; | ||
}), | ||
webview: settings.webview, | ||
region: settings.region, | ||
@@ -40,0 +41,0 @@ fully: settings.fully, |
@@ -25,5 +25,9 @@ "use strict"; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.makeCheck = void 0; | ||
const utils = __importStar(require("@applitools/utils")); | ||
const chalk_1 = __importDefault(require("chalk")); | ||
function makeCheck({ eyes, logger: defaultLogger, }) { | ||
@@ -52,2 +56,5 @@ return async function check({ target, settings = {}, config, logger = defaultLogger, } = {}) { | ||
(_q = settings.waitBetweenStitches) !== null && _q !== void 0 ? _q : (settings.waitBetweenStitches = utils.types.isObject(settings.lazyLoad) ? settings.lazyLoad.waitingTime : 100); | ||
if (settings.matchLevel === 'Content') { | ||
logger.console.log(chalk_1.default.yellow(`The "Content" match level value has been deprecated, use "IgnoreColors" instead.`)); | ||
} | ||
const results = await eyes.check({ target: target, settings, logger }); | ||
@@ -54,0 +61,0 @@ return results; |
@@ -34,2 +34,4 @@ "use strict"; | ||
const make_manager_1 = require("./make-manager"); | ||
const close_batch_1 = require("./close-batch"); | ||
const delete_test_1 = require("./delete-test"); | ||
const utils = __importStar(require("@applitools/utils")); | ||
@@ -50,4 +52,6 @@ function makeCore({ spec, concurrency, core, agentId = 'core', cwd = process.cwd(), logger, }) { | ||
makeManager: (0, make_manager_1.makeMakeManager)({ spec, concurrency, agentId, logger }), | ||
closeBatch: (0, close_batch_1.makeCloseBatch)({ core, logger }), | ||
deleteTest: (0, delete_test_1.makeDeleteTest)({ core, logger }), | ||
}); | ||
} | ||
exports.makeCore = makeCore; |
@@ -34,4 +34,4 @@ "use strict"; | ||
const take_dom_snapshot_1 = require("./take-dom-snapshot"); | ||
const utils = __importStar(require("@applitools/utils")); | ||
const chalk_1 = __importDefault(require("chalk")); | ||
const utils = __importStar(require("@applitools/utils")); | ||
__exportStar(require("./take-dom-snapshot"), exports); | ||
@@ -38,0 +38,0 @@ async function takeDomSnapshots({ driver, settings, hooks, provides, logger, }) { |
{ | ||
"name": "@applitools/core", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"homepage": "https://applitools.com", | ||
@@ -5,0 +5,0 @@ "bugs": { |
@@ -10,3 +10,3 @@ import type { SpecDriver } from '@applitools/types'; | ||
logger?: Logger; | ||
}) => Promise<import("@applitools/types").Size>; | ||
}) => Promise<import("@applitools/driver").Size>; | ||
export {}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
222229
108
4349