@percy/agent
Version:
An agent process for integrating with Percy.
36 lines (35 loc) • 1.04 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DEFAULT_CONFIGURATION = void 0;
const agent_service_constants_1 = require("../services/agent-service-constants");
exports.DEFAULT_CONFIGURATION = {
'version': 1.0,
'snapshot': {
'percy-css': '',
'widths': [1280, 375],
'min-height': 1024,
},
'agent': {
'port': agent_service_constants_1.DEFAULT_PORT,
'asset-discovery': {
'request-headers': {},
'allowed-hostnames': [],
'network-idle-timeout': 125,
'page-pool-size-min': 1,
'page-pool-size-max': 5,
'cache-responses': true,
},
},
'static-snapshots': {
'path': '.',
'base-url': '/',
'snapshot-files': '**/*.html,**/*.htm',
'ignore-files': '',
'port': agent_service_constants_1.DEFAULT_PORT + 1,
},
'image-snapshots': {
path: '.',
files: '**/*.png,**/*.jpg,**/*.jpeg',
ignore: '',
},
};