lightweight-charts/.puppeteerrc.js
2024-03-15 15:04:00 +00:00

22 lines
570 B
JavaScript

const { join } = require('path');
/**
* @type {import("puppeteer").Configuration}
*/
module.exports = {
/**
* We need to set the cacheDirectory so that the CircleCI pipeline
* can reliably find the installed chrome binary
*/
cacheDirectory: join(__dirname, 'node_modules', '.cache', 'puppeteer'),
downloadBaseUrl: 'https://storage.googleapis.com/chrome-for-testing-public',
experiments: {
/**
* This can also be configured / overridden with the
* PUPPETEER_EXPERIMENTAL_CHROMIUM_MAC_ARM
* env variable
*/
macArmChromiumEnabled: true,
},
};