Files
mermaid/applitools.config.js
2025-08-20 23:36:39 +05:30

19 lines
537 B
JavaScript

module.exports = {
// Applitools configuration
serverUrl: 'https://eyesapi.applitools.com',
apiKey: process.env.APPLITOOLS_API_KEY,
// Disable local server connection that's causing the ECONNREFUSED error
useDnsCache: false,
// Set batch information
batch: {
name: process.env.APPLI_BRANCH || 'Mermaid Tests',
id: process.env.APPLITOOLS_BATCH_ID || Date.now().toString(),
},
// Configure the app name
appName: 'Mermaid',
// Set the viewport size
viewportSize: {
width: 1440,
height: 1024,
},
};